[Webkit-unassigned] [Bug 196232] FontFace constructor throws an exception then there is a name which starts with a number

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 25 21:40:24 PDT 2019


--- Comment #3 from Myles C. Maxfield <mmaxfield at apple.com> ---
This is because of the historical difference between font-family:foo; and font-family:”foo”;

FontFace::parseString() is passing its argument directly to consumeFontFamilyDescriptor() in CSSPropertyParser.cpp, which parses the string according to the first form. The first form doesn’t allow spaces.

We should adopt the Chrome/Firefox behavior, and the spec should be clarified here.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190326/4db85f1e/attachment.html>

More information about the webkit-unassigned mailing list