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

So Gecko doesn't implement the merging of CSS2Properties into CSSStyleDecleration, and the declaration block for @font-face rules doesn't implement CSS2Properties.  See [testcase](!DOCTYPE%20html%3E%0A%3Cstyle%3E%0A%40font-face%20%7B%0A%20%20font-family%3A%20foobar%3B%0A%7D%0A%3C%2Fstyle%3E%0A%3Cscript%3E%0Avar%20s%20%3D%20document.getElementsByTagName(%22style%22)%5B0%5D.sheet%3B%0Avar%20r%20%3D%20s.cssRules%5B0%5D%3B%0Adocument.write(  So I think it's reasonable to think that putting all of CSS2Properties into whatever represents the declaration-block for @font-face isn't needed for Web compatibility.

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

Received on Tuesday, 25 July 2017 02:51:28 UTC