WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
187117
Forwards-compatible parsing of @font-face src descriptor: split on commas, discard invalid parts rather than entire descriptor
https://bugs.webkit.org/show_bug.cgi?id=187117
Summary
Forwards-compatible parsing of @font-face src descriptor: split on commas, di...
fantasai
Reported
2018-06-27 15:03:46 PDT
Created
attachment 343755
[details]
testcase (requires Ahem) In light of discussions for extending the format() descriptor to handle features (e.g. colors, variations) within a particular font format, the CSSWG recently resolved to update the parsing rules for @font-face's src descriptor to be more forwards-compatible, using Media Queries style parsing rules to split on top-level commas, and discard only the invalid items in the src list rather than throwing out the entire descriptor.
https://github.com/w3c/csswg-drafts/issues/633
I think this is an important change to implement even before the new features are implemented, as it means WebKit will be forwards-compatible with content authored using new format() features, whatever they end up being.
Attachments
testcase (requires Ahem)
(193 bytes, text/html)
2018-06-27 15:03 PDT
,
fantasai
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-07-15 13:30:25 PDT
<
rdar://problem/97091127
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug