[csswg-drafts] [css-font-loading] FontFace constructor section 2.1 need clarifying (#4771)

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

== [css-font-loading] FontFace constructor section 2.1 need clarifying ==
https://drafts.csswg.org/css-font-loading/#dom-fontface-fontface

Section 2.1: 

"If any of them fail to parse correctly, reject font face’s [[FontStatusPromise]] with a DOMException named "SyntaxError", set font face’s corresponding attributes to the empty string, and set font face’s status attribute to "error". Otherwise, set font face’s corresponding attributes to the serialization of the parsed values."

This section should specify when there is a parsing failure, if the all of the font face's attributes should be empty string, or just those that failed to parse.

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

Received on Wednesday, 12 February 2020 18:58:04 UTC