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

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

From: Darren Shen via GitHub <sysbot+gh@w3.org>
Date: Tue, 14 Mar 2017 05:31:02 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-213972661-1489469461-sysbot+gh@w3.org>
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

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