DescriptionRemove the SVGImageElement::needs_loader_uri_update_ flag
Since xml:base is no longer a thing, there's no reason to delay the
resource (image) load until the <image> element is in the document.
Remove the flag and initiate resource loads a way resembling
HTMLImageElement. This means a change in behavior, since it will now be
possible get the load to start before the image is inserted into the
document. The new behavior matches Gecko.
Also clean up the code a bit, remove some unused includes and add a TODO
for the document adopt case.
BUG=720310
Review-Url: https://codereview.chromium.org/2868323002
Cr-Commit-Position: refs/heads/master@{#470898}
Committed: https://chromium.googlesource.com/chromium/src/+/f15abc6c912c395a22c2656a39e9d2c46fba70c8
Patch Set 1 #Patch Set 2 : Add test #Patch Set 3 : Make test fail on 'error' #
Messages
Total messages: 24 (17 generated)
|