W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2017

Re: [csswg-drafts] [css-cascade] About omitted subproperty value in shorthand

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Fri, 03 Mar 2017 00:12:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-283824499-1488499927-sysbot+gh@w3.org>
A probably more interesting one:
<!DOCTYPE html>
<div style="background: none, none"></div>
var elem = document.querySelector('div');
elem.style.backgroundPosition = elem.style.backgroundPosition;
elem.style.cssText = elem.style.cssText;
This has different behavior between Chrome and Safari, and they both 
fail to round-trip in this case. Their three output of `cssText` are 
completely different.

GitHub Notification of comment by upsuper
Please view or discuss this issue at 
 using your GitHub account
Received on Friday, 3 March 2017 00:12:15 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:09 UTC