Closed Bug 2060627 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 61724 - [symbols] Support symbols() in list-style-type

Categories

(Core :: Layout: Generated Content, Lists, and Counters, task, P4)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 61724 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/61724
Details from upstream follow.

Ananya Anand <t-anaanand@microsoft.com> wrote:

[symbols] Support symbols() in list-style-type

Wire symbols() into the list-style-type longhand (and list-style
by delegation). The value is stored as a nameless kCounterStyle
distinguished by IsSymbolsFunction(), so layout/paint/a11y treat it
like any other counter style; the anonymous CounterStyle is built
eagerly. The inspector reports no at-rule for it.

Because list-style-type now parses symbols(), its previously failing
symbols() subtests pass: the valid/computed -expected.txt baselines
become all-pass and are deleted, and the typed-om symbols()
unsupported-value subtest flips FAIL to PASS. Also add symbols()
coverage to the list-style shorthand parsing tests and an inspector
unit test asserting an anonymous symbols() style reports no
@counter-style at-rule.

Bug: 40747844
Change-Id: I6f7e33f290b59d9cbff79bc6b633dd78b5084a97
Reviewed-on: https://chromium-review.googlesource.com/8066847
WPT-Export-Revision: 30d2a208119df42aa166af60c6190384d27a0056

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 3 tests and 24 subtests

Status Summary

Firefox

OK : 3
PASS: 38

Chrome

OK : 3
PASS: 24
FAIL: 14

Safari

OK : 3
PASS: 31
FAIL: 7

Links

GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.