This patch does the following:
- Moves the decode implementation to ImageLoader
- Adds the decode functionality to SVGImageElement
- Reworks the decode functionality to use microtasks to align
with the proposed spec changes:
https://github.com/whatwg/html/pull/2965
This patch also cleans up some tests and adds <picture> tests.
[email protected], [email protected]
Bug: 705669
Change-Id: I736f44c59cc173bda9f89000eaea309ddfbbeb85
Reviewed-on: https://chromium-review.googlesource.com/665381
Commit-Queue: vmpstr <[email protected]>
Reviewed-by: Chris Harrelson <[email protected]>
Reviewed-by: Fredrik Söderquist <[email protected]>
Cr-Commit-Position: refs/heads/master@{#504436}