Closed
Bug 1471736
Opened 6 years ago
Closed 2 years ago
Forwards-compatible parsing of @font-face src descriptor: split on commas, discard invalid parts rather than entire descriptor
Categories
(Core :: CSS Parsing and Computation, enhancement, P2)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
DUPLICATE
of bug 1803760
People
(Reporter: fantasai.bugs, Unassigned)
Details
Attachments
(1 file)
193 bytes,
text/html
|
Details |
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 Firefox will be forwards-compatible with content authored using new format() features, whatever they end up being.
Priority: -- → P2
Updated•2 years ago
|
Severity: normal → S3
Comment 1•2 years ago
|
||
Sorry, I overlooked this report and filed a new bug 1803760 with a patch for this. Duping this forward to the new bug.
You need to log in
before you can comment on or make changes to this bug.
Description
•