[wpt-sync] Sync PR 39285 - Revert "Fix WPT testcases that do not properly account for counter-st…
Categories
(Core :: Layout: Generated Content, Lists, and Counters, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox115 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39285 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39285
Details from upstream follow.
Vitor Roriz <vitor.roriz@apple.com> wrote:
Revert "Fix WPT testcases that do not properly account for counter-st…
…yle fallback behavior of prefix/suffix descriptors."
This reverts commit 90a953f4c4f0235160e96c8dd27d4a5e7638511d.
Reverting this change since it doesn't conform to the specification: https://www.w3.org/TR/css-counter-styles-3/#counter-styles
Note: prefix and suffix don’t play a part in this algorithm. This is intentional; the prefix and suffix aren’t part of the string returned by the counter() or counters() functions. Instead, the prefix and suffix are added by the algorithm that constructs the value of the content property for the ::marker pseudo-element. This also implies that the prefix and suffix always come from the specified counter-style, even if the actual representation is constructed by a fallback style.
An issue was opened at https://github.com/w3c/csswg-drafts/issues/8619 Until we have a resolution for that I propose we revert to what spec determines. If resolution outdates this current change, then we can undo the reversion.
| 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 5 tests
Status Summary
Firefox
FAIL: 5
Chrome
PASS: 5
Safari
PASS: 4
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /css/css-counter-styles/counter-style-at-rule/system-additive.html [wpt.fyi]:
FAIL - /css/css-counter-styles/counter-style-at-rule/system-alphabetic.html [wpt.fyi]:
FAIL - /css/css-counter-styles/counter-style-at-rule/system-extends.html [wpt.fyi]:
FAIL - /css/css-counter-styles/counter-style-at-rule/system-symbolic.html [wpt.fyi]:
FAIL
New Tests That Don't Pass
- /css/css-counter-styles/counter-style-at-rule/descriptor-prefix.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-counter-styles/counter-style-at-rule/system-additive.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS) - /css/css-counter-styles/counter-style-at-rule/system-alphabetic.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS) - /css/css-counter-styles/counter-style-at-rule/system-extends.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS) - /css/css-counter-styles/counter-style-at-rule/system-symbolic.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:PASS)
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5824a9a19bb0
https://hg.mozilla.org/mozilla-central/rev/3165edbe4643
Description
•