Re: [csswg-drafts] [css-fonts] CSSFontFaceRule does not seem Web compatible

Because `CSSStyleDeclaration`, per the current spec, contains [all other unrelated properties as attributes](https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-_camel_cased_attribute), which is undesirable in this case.

WebKit and Blink have already been using the new definition for `CSSStyleDeclaration`, but Gecko still splits `CSSStyleDeclaration` and `CSS2Properties` (the latter was the one defined in some early version of spec which includes attributes of properties and inherits from `CSSStyleDeclaration`).

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

Received on Sunday, 2 April 2017 23:46:56 UTC