[wpt-sync] Sync PR 64165 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327781
Categories
(Core :: Layout: Generated Content, Lists, and Counters, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64165 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64165
Details from upstream follow.
Ahmad Saleem <ahmad.saleem792+github@gmail.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327781
WebKit export from bug: CSSCounterStyleRule.<!---->name setter does not update the name getter or cssText
<pre>
CSSCounterStyleRule.name setter does not update the name getter or cssTextThis patch aligns WebKit with Gecko / Firefox and Blink / Chromium.
StyleRuleCounterStyle stored the counter style name twice: in its own m_name
and in CSSCounterStyleDescriptors::m_name. CSSCounterStyleRule::setName()
only updated the descriptors' copy, while the name getter and cssText read the
rule's copy. Afterrule.name = "bar",rule.nameandrule.cssTextstill
reported the old name, while the counter style registry (which keys on the
descriptors' name) used the new one.Drop StyleRuleCounterStyle::m_name and have name() return the descriptors'
name, so there is a single source of truth. Also remove the now-unneeded name
parameter from StyleRuleCounterStyle::create() and the unused
StyleRuleCounterStyle::setName().WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=327781">https://bugs.webkit.org/show_bug.cgi?id=327781</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/324049@main">https://commits.webkit.org/324049@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=111196
| Assignee | ||
Comment 2•26 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 20 tests and 4 subtests
Status Summary
Firefox
OK : 1
PASS: 4[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, GitHub] 23[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 1
PASS: 4
Safari
OK : 1
PASS: 1
FAIL: 3
Links
Comment 4•18 days ago
|
||
| bugherder | ||
Description
•