Open
Bug 2023533
Opened 20 days ago
Fix CustomIdent reification to avoid escaping identifiers
Categories
(Core :: CSS Parsing and Computation, task)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: janv, Assigned: janv)
References
(Blocks 1 open bug)
Details
While implementing reification for container-name, it was noticed that CustomIdent values are currently exposed using their serialized form. For example:
container-name: foo\\ bar
produces:
CSSKeywordValue { value: "foo\\ bar" }
This comes from using ToCss::to_css_cssstring(self) in the current implementation.
Quick checks across browsers show inconsistent behavior. See also the discussion in the original patch for bug 2017250 for more details. There is currently no WPT coverage for this case.
You need to log in
before you can comment on or make changes to this bug.
Description
•