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

Issue 2343613002: HTMLImageElement: do not use fallback content for ImageDocument (Closed)

Created:
4 years, 3 months ago by hiroshige
Modified:
4 years, 2 months ago
CC:
chromium-reviews, tyoshino+watch_chromium.org, blink-reviews-html_chromium.org, loading-reviews_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, blink-reviews, Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

HTMLImageElement: do not use fallback content for ImageDocument After https://codereview.chromium.org/1879793003, ImageLoader::hasPendingActivity() became false for ImageDocument and thus HTMLImageElement::selectSourceURL() didn't consider the image as still loading during load (|imageStillLoading| became false). This caused ImageDocument not to be displayed progressively. This CL makes HTMLImageElement to use primary content for ImageDocument. This causes ImageDocument not to be replaced with fallback content, but I expect that is more acceptable than images not displayed progressively. BUG=632495 Committed: https://crrev.com/c5e43f7edf4e55155fcda51be0285f37b20c2e76 Cr-Commit-Position: refs/heads/master@{#420432}

Patch Set 1 #

Patch Set 2 : Fix #

Messages

Total messages: 21 (10 generated)
hiroshige
PTAL.
4 years, 3 months ago (2016-09-15 10:09:18 UTC) #8
hiroshige
On 2016/09/15 10:09:18, hiroshige wrote: > PTAL. I'm planning to merge the fix to stable.
4 years, 3 months ago (2016-09-15 10:09:41 UTC) #9
Elly Fong-Jones
On 2016/09/15 10:09:18, hiroshige wrote: > PTAL. This change will break disabling images, won't it? ...
4 years, 3 months ago (2016-09-15 10:18:43 UTC) #10
hiroshige
On 2016/09/15 10:18:43, Elly Jones wrote: > On 2016/09/15 10:09:18, hiroshige wrote: > > PTAL. ...
4 years, 3 months ago (2016-09-15 10:38:00 UTC) #11
hiroshige
> if you forbid a site > from loading images, instead of getting the "there ...
4 years, 3 months ago (2016-09-21 07:36:54 UTC) #12
Elly Fong-Jones
lgtm
4 years, 3 months ago (2016-09-21 10:44:29 UTC) #13
Nate Chapin
lgtm
4 years, 3 months ago (2016-09-21 19:14:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2343613002/20001
4 years, 2 months ago (2016-09-22 18:38:41 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-22 19:53:08 UTC) #18
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/c5e43f7edf4e55155fcda51be0285f37b20c2e76 Cr-Commit-Position: refs/heads/master@{#420432}
4 years, 2 months ago (2016-09-22 19:59:54 UTC) #20
Garrett Casto
4 years, 2 months ago (2016-09-22 23:26:11 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2365523003/ by gcasto@chromium.org.

The reason for reverting is: Speculatively reverting to fix broken layout tests
on Windows
(https://uberchromegw.corp.google.com/i/chromium.webkit/builders/WebKit%20Win10,
https://uberchromegw.corp.google.com/i/chromium.webkit/builders/WebKit%20Win7)

Tests are 

fast/backgrounds/border-radius-split-background-image.html 
fast/backgrounds/border-radius-split-background.html
fast/borders/border-styles-split.html
paint/invalidation/background-resize-height.html .

Powered by Google App Engine
This is Rietveld 408576698