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

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

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Sun, 05 Mar 2017 23:04:32 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-284271051-1488755071-sysbot+gh@w3.org>
Oh I was not speaking about cssText serialization, but more that I 
like el.style.backgroundSize returning "initial" instead of "auto" 
because "auto" was never specified by the author; the property has its
 "initial| value instead, which happens to be auto. 

For shorthands I think what Edge does is more pleasant but requires 
written rules for every property and as far as I can remember the 
current proposal by Google (by shane I think) was to define more 
general rules but these were not ready last f2f so it hasn't been 
discussed extensively yet.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1068#issuecomment-284271051
 using your GitHub account
Received on Sunday, 5 March 2017 23:04:39 UTC

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