-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the processing model for img.decode()
As discussed in #2898, there are two primary problems being addressed: * By not delaying a microtask, we are not properly waiting for any image data updates. This introduces such a delay. * By testing for the presence of src or srcset, we do not work for <img> elements who get the current request from a containing <picture> element. This removes that check. Closes #2898.
- Loading branch information
Showing
1 changed file
with
65 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters