Closed
Bug 1789598
Opened 3 years ago
Closed 3 years ago
<img> "update the image data" should queue a microtask before making a resource selection
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 1076583
| Tracking | Status | |
|---|---|---|
| firefox106 | --- | affected |
People
(Reporter: zcorpan, Unassigned)
References
Details
This test fails in Gecko (and WebKit, but passes in Chromium):
Results on wpt.fyi: https://wpt.fyi/results/html/semantics/embedded-content/the-img-element/update-the-image-data/current-request-microtask.html?label=experimental&label=master&aligned
The microtask is in the spec due to <picture>, we need to wait for all elements and attributes to be available (if building a DOM with script) before making a resource selection to avoid eager fetches of the wrong URL.
| Reporter | ||
Updated•3 years ago
|
See Also: → https://bugs.webkit.org/show_bug.cgi?id=237703
Updated•3 years ago
|
Component: Layout: Images, Video, and HTML Frames → DOM: Core & HTML
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•