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

@foolip I think this is a valid concern.

Additionally, DOM Level 2 is somewhat under-specifed: is says there’s a `style` attribute of type `CSSStyleDeclaration`, but `CSSStyleDeclaration` normally deals with properties (including in its methods’ names) but in this case it should be "monkey-patched" to refer to `@font-face` descriptors instead.

For example `unicode-range` is not a property, but this shows “U+0” in at least Firefox and Chromium:

data:text/html,<style>@font-face{unicode-range: U+0}</style><script>document.write(document.styleSheets[0].cssRules[0].style.getPropertyValue("unicode-range"))</script>

GitHub Notification of comment by SimonSapin
Please view or discuss this issue at using your GitHub account

Received on Friday, 21 April 2017 06:59:14 UTC