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

Re: [csswg-drafts] [css-text-3] Don't mince words about aliasing/shorthands with word-wrap

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Fri, 06 Jan 2017 22:30:19 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-271028230-1483741818-sysbot+gh@w3.org>
I'd also note that the normal rules for shorthands would produce a 
third result that is both (a) undesirable and (b) neither the Firefox 
nor the Chrome result, i.e., serializing the above rule to: 
<code>"#foo { word-wrap: break-word; align-items: baseline; }"</code>,
 since it's possible to "condense" the declaration into a shorthand.

This is by the same principle that:
document.body.style.borderLeftColor = "green";
document.body.style.borderLeftWidth = "medium";
document.body.style.borderLeftStyle = "dotted";
border-left: medium dotted green;
in both Firefox and Chrome.

I think that also suggests that we need to specify the concept of 

GitHub Notification of comment by dbaron
Please view or discuss this issue at 
using your GitHub account
Received on Friday, 6 January 2017 22:30:26 UTC

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