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

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

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Sun, 02 Apr 2017 23:46:50 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-291023793-1491176807-sysbot+gh@w3.org>
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

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