Open
Bug 1821866
Opened 2 years ago
Updated 2 years ago
font-family name with spaces serialized without quotes in Firefox
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: evilpies, Unassigned)
References
(Blocks 1 open bug)
Details
I first noticed this in this canvas2d test, but this also seems to apply to normal style properties.
Test case:
document.body.style.fontFamily = "Unknown Font, sans-serif"; document.body.style.fontFamily
Produces "Unknown Font, sans-serif"
in Firefox and "\"Unknown Font\", sans-serif"
in Chrome.
Reporter | ||
Updated•2 years ago
|
Blocks: interop-2023-offscreencanvas
Comment 1•2 years ago
|
||
See https://github.com/w3c/csswg-drafts/issues/5846 for some discussion about this (but no clear conclusion).
See Also: → https://github.com/w3c/csswg-drafts/issues/5846
Comment 2•2 years ago
|
||
For now, until/unless the CSSWG addresses this more precisely, I think the most appropriate thing to do would be to make the test accept either form.
Updated•2 years ago
|
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•