[wpt-sync] Sync PR 64050 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328502
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64050 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64050
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328502
WebKit export from bug: Update \<<!---->option><!----> when the alt attribute of a descendant \<<!---->img><!----> changes
<pre>
Update <option> when the alt attribute of a descendant <img> changesThe label of an <option>, which the native appearance of a <select> renders,
includes the alt text of <img> descendants. Changing that alt attribute is not a
change to anyone's children, so <a href="https://commits.webkit.org/324413@main">324413@main</a> does not cover it: a drop-down kept
showing the old text, and a list box kept the width of the old text.HTMLImageElement::attributeChanged() now calls notifyDescendantsChanged() on the
parent of an <img> inside a <select> or <datalist> when its alt attribute
changes. Elsewhere this costs a flag check.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=328502">https://bugs.webkit.org/show_bug.cgi?id=328502</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=110802
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 13 tests and 12 subtests
Status Summary
Firefox
OK : 11
PASS: 108[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-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 109[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 1[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt, GitHub] 2[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]
Chrome
FAIL: 1
Safari
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/forms/the-option-element/dynamic-content-change-rendering.html [wpt.fyi]:
FAIL[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],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /html/semantics/forms/the-option-element/dynamic-img-alt-change-rendering.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL)
Comment 4•25 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/fa3038b28043
https://hg.mozilla.org/mozilla-central/rev/35e74551031a
Description
•