[csswg-drafts] [css-font-loading] "Invalid" @font-face rules shouldn't create FontFace objects

tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-font-loading] "Invalid" @font-face rules shouldn't create FontFace objects ==
In <https://github.com/w3c/csswg-drafts/issues/1133> we decided that an `@font-face` rule without its minimum required descriptors should be treated as valid (so it shows up in the OM), but just doesn't define a font face for the document.

Currently I generate CSS-connected `FontFace` objects for every `@font-face` rule, assuming that if they exist they're valid.  I should instead tie it to whether they define a font face for the document, so those "invalid" `@font-face` rules don't define a `FontFace`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1684 using your GitHub account

Received on Thursday, 3 August 2017 11:50:09 UTC