Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(690)

Issue 1047803005: Allow the "img.src='';img.src='.." idiom to clear down images immediately. (Closed)

Created:
5 years, 8 months ago by rhogan
Modified:
5 years, 8 months ago
Reviewers:
pdr., esprehn
CC:
blink-reviews, gavinp+loader_chromium.org, Nate Chapin, tyoshino+watch_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Allow the "img.src='';img.src='.." idiom to clear down images immediately. When we updated image loading to handle alt content using the shadow dom we made most image loads asynchronous, including loads where the src is null. In both of these bugs authors were depending on img.src='' to clear down the image synchronously. Since the idiom is widely used we need to un-break it! BUG=468915, 469678 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193301

Patch Set 1 #

Total comments: 3

Patch Set 2 : Updated #

Messages

Total messages: 8 (3 generated)
rhogan
5 years, 8 months ago (2015-03-31 22:04:46 UTC) #2
esprehn
https://codereview.chromium.org/1047803005/diff/1/LayoutTests/fast/images/natural-dimensions-correct-after-image-reset.html File LayoutTests/fast/images/natural-dimensions-correct-after-image-reset.html (right): https://codereview.chromium.org/1047803005/diff/1/LayoutTests/fast/images/natural-dimensions-correct-after-image-reset.html#newcode21 LayoutTests/fast/images/natural-dimensions-correct-after-image-reset.html:21: setTimeout("img.src = '" + testImage + "';", 0); don't ...
5 years, 8 months ago (2015-04-06 20:29:41 UTC) #3
pdr.
LGTM, I think the approach you've taken is pragmatic.
5 years, 8 months ago (2015-04-06 21:23:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1047803005/20001
5 years, 8 months ago (2015-04-07 18:26:45 UTC) #7
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 20:55:28 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193301

Powered by Google App Engine
This is Rietveld 408576698