Implement CSS revert-rule keyword (was: New wpt failures in /css/ [css-cascade/revert-rule-basic.html, css-cascade/revert-rule-layer.html, css-env/env-revert-rule.html, and 5 others])
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: wpt-sync, Assigned: emilio)
References
(Blocks 3 open bugs)
Details
(Keywords: dev-doc-complete, Whiteboard: [wpt])
Attachments
(1 external file)
Syncing wpt PR 57827 found new untriaged test failures in CI
Tests Affected
New Tests That Don't Pass
- /css/css-cascade/revert-rule-basic.html [wpt.fyi]
- The revert-rule keyword rolls back to the previous rule:
FAIL(Chrome:PASS, Safari:FAIL) - Cascade order determines the previous rule, not order of appearance:
FAIL(Chrome:PASS, Safari:FAIL) - Reverting from style attribute reverts to regular rules:
FAIL(Chrome:PASS, Safari:FAIL) - A chain of revert-rule works:
FAIL(Chrome:PASS, Safari:FAIL)
- The revert-rule keyword rolls back to the previous rule:
- /css/css-cascade/revert-rule-layer.html [wpt.fyi]
- The revert-rule keyword can cross layers:
FAIL(Chrome:PASS, Safari:FAIL) - The revert-rule does not unconditionally cross layers:
FAIL(Chrome:PASS, Safari:FAIL)
- The revert-rule keyword can cross layers:
- /css/css-env/env-revert-rule.html [wpt.fyi]
- The revert-rule works in an env() fallback:
FAIL(Chrome:PASS, Safari:FAIL)
- The revert-rule works in an env() fallback:
- /css/css-nesting/nesting-revert-rule.html [wpt.fyi]
- The revert-rule keyword can revert to a nested rule:
FAIL(Chrome:PASS, Safari:FAIL) - The revert-rule keyword can revert to a CSSNestedDeclarationsRule:
FAIL(Chrome:PASS, Safari:FAIL) - The revert-rule keyword can revert from a CSSNestedDeclarationsRule:
FAIL(Chrome:PASS, Safari:FAIL) - The revert-rule keyword can revert to scoped declarations:
FAIL(Chrome:PASS, Safari:FAIL)
- The revert-rule keyword can revert to a nested rule:
- /css/css-values/attr-revert-rule.html [wpt.fyi]
- The revert-rule works in an attr() fallback:
FAIL(Chrome:PASS, Safari:FAIL)
- The revert-rule works in an attr() fallback:
- /css/css-values/if-function-revert-rule.html [wpt.fyi]
- The revert-rule works as a branch in if():
FAIL(Chrome:PASS, Safari:FAIL) - The revert-rule works as a branch in if(), earlier return:
FAIL(Chrome:PASS, Safari:FAIL)
- The revert-rule works as a branch in if():
- /css/css-variables/revert-rule-in-fallback.html [wpt.fyi]
- var(--unknown, revert-rule) in custom property:
FAIL(Chrome:PASS, Safari:FAIL) - var(--unknown, revert-rule) in shorthand:
FAIL(Chrome:PASS, Safari:FAIL) - var(--unknown, revert-rule) in shorthand observed via longhand:
FAIL(Chrome:PASS, Safari:FAIL) - var(--unknown, revert-rule) in longhand:
FAIL(Chrome:PASS, Safari:FAIL)
- var(--unknown, revert-rule) in custom property:
- /css/css-variables/revert-rule-to-var.html [wpt.fyi]
- Using revert-rule to revert to a value containing var():
FAIL(Chrome:PASS, Safari:FAIL)
- Using revert-rule to revert to a value containing var():
CI Results
Gecko CI (Treeherder)
GitHub PR Head
Notes
These updates will be on mozilla-central once bug 2017259 lands.
Note: this bug is for tracking fixing the issues and is not
owned by the wpt sync bot.
This bug is linked to the relevant tests by an annotation in
https://github.com/web-platform-tests/wpt-metadata. These annotations
can be edited using the wpt interop dashboard
https://jgraham.github.io/wptdash/
If this bug is split into multiple bugs, please also update the
annotations, otherwise we are unable to track which wpt issues are
already triaged. Resolving as duplicate or closing this issue should
be cause the bot to automatically update or remove the annotation.
Updated•8 months ago
|
Updated•8 months ago
|
| Assignee | ||
Comment 1•8 months ago
|
||
As per https://drafts.csswg.org/css-cascade-5/#revert-rule-keyword
The remaining test failure is about
https://github.com/w3c/csswg-drafts/issues/9131 and affects all other
revert* keywords, so I don't think it's worth blocking on that.
Updated•8 months ago
|
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Updated•8 months ago
|
Comment 4•8 months ago
|
||
Backed out for causing mochitest failures @ test_bug877690.html
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/185369e1423ef0b6dd81ea7b74ca2ed68f0cf649
Failure log -> TEST-UNEXPECTED-FAIL | layout/inspector/tests/test_bug877690.html
| Assignee | ||
Updated•8 months ago
|
Updated•8 months ago
|
Updated•7 months ago
|
Updated•6 months ago
|
Description
•