Closed Bug 2085449 Opened 1 month ago Closed 28 days ago

[wpt-sync] Sync PR 64042 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328484

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Anne van Kesteren <annevk@annevk.nl> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328484

WebKit export from bug: Update \<<!---->optgroup><!----> when its \<<!---->legend><!----> changes

<pre>
Update <optgroup> when its <legend> changes

When the first element child of an <optgroup> is a <legend>, its text is the
label of the <optgroup>. Changes to that text, or to which <legend> comes first,
did not update the <select>: a native list box kept the width of the old label,
and assistive technologies kept getting the old label.

Using the mechanism of <a href="https://commits.webkit.org/324413@main">324413@main</a>, HTMLLegendElement::descendantsChanged()
calls the new HTMLOptGroupElement::legendElementChanged(). The <optgroup> also
remembers its <legend>, and its childrenChanged() calls legendElementChanged()
when that changes, instead of invalidating its user agent shadow tree for every
change to its element children. legendElementChanged() does what a change to the
label attribute does.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=328484">https://bugs.webkit.org/show_bug.cgi?id=328484</a>
</pre>

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

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

Total 175 tests

Status Summary

Firefox

OK : 82
PASS: 1[GitHub] 11[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 161[Gecko-windows11-32-25h2-opt] 162[Gecko-windows11-32-25h2-debug] 170[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] 192[Gecko-windows11-64-25h2-opt] 193[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug]
FAIL: 97[Gecko-windows11-32-25h2-debug] 98[Gecko-windows11-32-25h2-opt] 121[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] 148[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug] 149[Gecko-windows11-64-25h2-opt]

Chrome

PASS: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

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

Attachment

General

Created:
Updated:
Size: