Fix some CSS-variables tests.
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox91 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(3 files)
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
Custom properties are white-space aware and should preserve input, so
the expectation is wrong. In order for serialization to roundtrip you
can't add an space after the colon.
| Assignee | ||
Comment 2•5 years ago
|
||
This effectively backs out bug 1623396.
See:
https://github.com/w3c/csswg-drafts/pull/6006
https://drafts.csswg.org/css-variables/#guaranteed-invalid-value
And related discussion. Matches Chrome stable as per https://groups.google.com/a/chromium.org/g/blink-dev/c/0xrbzYe_vxU/m/7bsL76n9CgAJ
Depends on D116459
| Assignee | ||
Comment 3•5 years ago
|
||
These tests are not right, they are expecting untyped custom properties
to transition, and that's not how these work.
All browsers time out:
https://wpt.fyi/results/css/css-variables?label=master&label=experimental&aligned
So we should just remove them IMO.
Depends on D116460
| Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
| bugherder | ||
Updated•5 years ago
|
Comment 8•5 years ago
|
||
| bugherder | ||
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
Backed out for wpt failures on declarations-trim-whitespace.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/185f73dea85b3fb3e5042914e9ef6233a826b6ed
Log link: https://treeherder.mozilla.org/logviewer?job_id=341908841&repo=autoland&lineNumber=2145
Comment 12•5 years ago
|
||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
Comment 14•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
Comment 16•5 years ago
|
||
| bugherder | ||
Description
•