-
Notifications
You must be signed in to change notification settings - Fork 756
Description
The value field of src is defined with see prose. Would it be possible to use a valid value definition according the CSS value definition syntax?
I know that src must be parsed in a specific way, similarly to <media-query-list> and <forgiving-selector-list>. So I suggest to set its value with something like <font-src-list> that would reference this specific procedure, which should take advantage of parse a comma-separated list according to a CSS grammar with <font-src> as the CSS grammar.
Also, I think it could be helpfull for CSS authors to remove invalid items from the serialization, like invalid media query or selector. edit: invalid selectors in <forgiving-selector-list> and invalid/unknown media queries in <media-query-list> are now preserved - #8356 (comment), #7595 (comment).