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

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:
```js
document.body.style.borderLeftColor = "green";
document.body.style.borderLeftWidth = "medium";
document.body.style.borderLeftStyle = "dotted";
console.log(document.body.getAttribute('style'));
```
produces:
```
border-left: medium dotted green;
```
in both Firefox and Chrome.

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

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/866#issuecomment-271028230 
using your GitHub account

Received on Friday, 6 January 2017 22:30:26 UTC