[wpt-sync] Sync PR 39472 - Strip comment tokens when parsing pending substitutions.
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39472 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39472
Details from upstream follow.
Steinar H. Gunderson <sesse@chromium.org> wrote:
Strip comment tokens when parsing pending substitutions.
CSSPropertyParser::ParseValue() isn't ready for comment tokens,
which we now preserve since we need them for the original text.
Strip them out right before parsing; as the comment says,
this probably isn't optimal, but it shouldn't be too bad either.Fixed: 1430953
Fixed: 1431444
Change-Id: I3f1039ddd4424b1d0a72e42cc2ba4fa1a243ca0cReviewed-on: https://chromium-review.googlesource.com/4414717
WPT-Export-Revision: f54fd50e3aeb162e5a673ec92c5ce934000fa014
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 3 subtests
Status Summary
Firefox
OK : 1
PASS: 3
Chrome
OK : 1
PASS: 2
FAIL: 1
Safari
OK : 1
PASS: 3
Links
Comment 4•3 years ago
|
||
| bugherder | ||
Description
•