- From: L. David Baron via GitHub <sysbot+gh@w3.org>
- Date: Tue, 25 Jul 2017 02:51:27 +0000
- To: public-css-archive@w3.org
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](http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!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(r.style.getPropertyValue(%22font-family%22)%20%2B%20%22%3Cbr%3E%22)%3B%0Adocument.write(r.style.fontFamily%20%2B%20%22%3Cbr%3E%22)%3B%0A%3C%2Fscript%3E). 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 https://github.com/w3c/csswg-drafts/issues/825#issuecomment-317613590 using your GitHub account
Received on Tuesday, 25 July 2017 02:51:28 UTC