Re: [csswg-drafts] [CSSOM] Separate camel_cased_attribute from CSSStyleDeclaration

So we have three different versions of CSSStyleDeclaration:

* The one returned by `element.style`
* The one returned by `getComputedStyle(element)`
* The one returned by `cssStyleRule.style` or `cssFontFaceRule.style` (or are these also different?)

Should each of these have different subclasses? Is that web compatible? What do browsers do?

Also note that it's not sufficient to separate only `_camel_cased_attribute`, there's also `_webkit_cased_attribute`, `_dashed_attribute`, and `cssFloat`.

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

Received on Tuesday, 15 August 2017 10:25:01 UTC