[csswg-drafts] [cssom] [css-overflow-3] Behaviour of getPropertyValue() unclear when the result doesn't match the property grammar

darrnshn has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom] [css-overflow-3] Behaviour of getPropertyValue() unclear when the result doesn't match the property grammar ==
In [getPropertyValue()](https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-getpropertyvalue), for shorthand properties, it says to simply append the value of the CSS declaration of each longhand. However, this might result in something that doesn't conform to the grammar of the shorthand property. For example, the [overflow](https://drafts.csswg.org/css-overflow-3/#propdef-overflow) shorthand only accepts 1 keyword, but `getPropertyValue()` would return a list containing the value for `overflow-x` and `overflow-y`. What should be the correct behaviour of getPropertyValue() in these cases?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1100 using your GitHub account

Received on Tuesday, 14 March 2017 05:31:09 UTC