NEW 225043
img current request should be updated off a microtask
https://bugs.webkit.org/show_bug.cgi?id=225043
Summary img current request should be updated off a microtask
Cameron McCormack (:heycam)
Reported 2021-04-25 20:37:24 PDT
We currently do it immediately. Or at least, we expose through HTMLImageElement.currentSrc what the new current request's URL is immediately, but we should be doing this (and initiating the image load itself) off a microtask. See https://html.spec.whatwg.org/#updating-the-image-data. Submitted a WPT PR to test this: https://github.com/web-platform-tests/wpt/pull/28679
Attachments
Radar WebKit Bug Importer
Comment 1 2021-05-02 20:38:14 PDT
Note You need to log in before you can comment on or make changes to this bug.