W3C home > Mailing lists > Public > www-style@w3.org > September 2015

[css-fonts] Shape of the CSSFontFaceRule interface

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 4 Sep 2015 11:16:46 -0700
Message-ID: <CAAWBYDDfG4d9Lax53j+b9_uEzVLjqT_ywVkh6fPY7s8aFii2eA@mail.gmail.com>
To: www-style list <www-style@w3.org>
According to Fonts, CSSFontFaceRule has a few members, like "family",
"style", etc.  There's a note pointing to its old definition in DOM L2
Style, where it was instead defined with a "style" attribute that
reflected its attributes with the standard property names like
"font-family", "font-style", etc.

It looks like Chrome and Firefox both implement the old DOM L2 Style
definition.  Can we just accept that and converge on that definition?
The current spec appears to be fiction.

This is important, because I purposely modeled the FontFace interface
off of CSSFontFaceRule, or rather, what Fonts currently states
CSSFontFaceRule should look like.  If Fonts is incorrect, and we
switch the definition to what browsers currently actually do, FontFace
will be inconsistent, and that's not good.  If I need to make a change
to Font Loading, I need to do so *now*.


Received on Friday, 4 September 2015 18:17:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:56 UTC