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

Issue 2853733004: Render 0px broken images correctly in quirks mode (Closed)

Created:
3 years, 7 months ago by rhogan
Modified:
3 years, 7 months ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Render 0px broken images correctly in quirks mode Even if an image is smaller than the broken image icon it still needs to render as a replaced element per https://html.spec.whatwg.org/multipage/rendering.html#images-3. So do that, but ensure the broken image icon is hidden and don't render it with a border or any other decoration. BUG=715535 Review-Url: https://codereview.chromium.org/2853733004 Cr-Commit-Position: refs/heads/master@{#469479} Committed: https://chromium.googlesource.com/chromium/src/+/2e3e1972ebbfdcbde70ef7c33c98169641e3f335

Patch Set 1 #

Patch Set 2 : bug 715535 #

Patch Set 3 : bug 715535 #

Patch Set 4 : Render 0px broken images correctly in quirks mode #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2445 lines, -820 lines) Patch
A third_party/WebKit/LayoutTests/images/rendering-broken-0px-images.html View 1 chunk +60 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/images/rendering-broken-0px-images-quirk.html View 1 chunk +59 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/css1/box_properties/float_elements_in_series-expected.txt View 1 2 2 chunks +84 lines, -56 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-0px-images-expected.png View Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-0px-images-expected.txt View 1 2 3 4 chunks +19 lines, -17 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-0px-images-quirk-expected.png View Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-0px-images-quirk-expected.txt View 1 2 3 11 chunks +162 lines, -132 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-10px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-10px-images-expected.txt View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-16px-images-expected.txt View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-1px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/images/rendering-broken-1px-images-expected.txt View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-0px-images-expected.png View 1 2 Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-0px-images-expected.txt View 1 2 3 4 chunks +19 lines, -17 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-0px-images-quirk-expected.png View 1 2 Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-0px-images-quirk-expected.txt View 1 2 3 11 chunks +162 lines, -132 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-10px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-10px-images-expected.txt View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-16px-images-expected.txt View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-1px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/gpu-rasterization/images/rendering-broken-1px-images-expected.txt View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt View 1 2 2 chunks +84 lines, -56 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac-mac10.9/images/rendering-broken-0px-images-expected.png View 1 2 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac-mac10.9/images/rendering-broken-0px-images-quirk-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac-mac10.9/images/rendering-broken-10px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac-mac10.9/images/rendering-broken-1px-images-expected.png View 1 2 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac-mac10.9/virtual/gpu-rasterization/images/rendering-broken-0px-images-expected.png View 1 2 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac-mac10.9/virtual/gpu-rasterization/images/rendering-broken-0px-images-quirk-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac-mac10.9/virtual/gpu-rasterization/images/rendering-broken-10px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac-mac10.9/virtual/gpu-rasterization/images/rendering-broken-1px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/css1/box_properties/float_elements_in_series-expected.txt View 1 2 2 chunks +84 lines, -56 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac/images/rendering-broken-0px-images-expected.png View 1 2 Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/platform/mac/images/rendering-broken-0px-images-expected.txt View 1 2 3 4 chunks +19 lines, -17 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac/images/rendering-broken-0px-images-quirk-expected.png View 1 2 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac/images/rendering-broken-0px-images-quirk-expected.txt View 1 2 3 1 chunk +307 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/images/rendering-broken-10px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/images/rendering-broken-10px-images-expected.txt View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/images/rendering-broken-16px-images-expected.txt View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/images/rendering-broken-1px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/images/rendering-broken-1px-images-expected.txt View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/rendering-broken-0px-images-expected.png View 1 2 Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/rendering-broken-0px-images-expected.txt View 1 2 3 4 chunks +19 lines, -17 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/rendering-broken-0px-images-quirk-expected.png View 1 2 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/rendering-broken-0px-images-quirk-expected.txt View 1 2 3 1 chunk +307 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/rendering-broken-10px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/rendering-broken-10px-images-expected.txt View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/rendering-broken-16px-images-expected.txt View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/rendering-broken-1px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/gpu-rasterization/images/rendering-broken-1px-images-expected.txt View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt View 1 2 2 chunks +84 lines, -56 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/css1/box_properties/float_elements_in_series-expected.txt View 1 2 2 chunks +84 lines, -56 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-0px-images-expected.png View 1 2 Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-0px-images-expected.txt View 1 2 3 4 chunks +19 lines, -17 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-0px-images-quirk-expected.png View 1 2 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-0px-images-quirk-expected.txt View 1 2 3 1 chunk +305 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-10px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-10px-images-expected.txt View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-16px-images-expected.txt View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-1px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/images/rendering-broken-1px-images-expected.txt View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/rendering-broken-0px-images-expected.png View 1 2 Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/rendering-broken-0px-images-expected.txt View 1 2 3 4 chunks +19 lines, -17 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/rendering-broken-0px-images-quirk-expected.png View 1 2 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/rendering-broken-0px-images-quirk-expected.txt View 1 2 3 1 chunk +305 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/rendering-broken-10px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/rendering-broken-10px-images-expected.txt View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/rendering-broken-16px-images-expected.txt View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/rendering-broken-1px-images-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/gpu-rasterization/images/rendering-broken-1px-images-expected.txt View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/mojo-loading/css1/box_properties/float_elements_in_series-expected.txt View 1 2 2 chunks +84 lines, -56 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp View 4 chunks +28 lines, -22 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
rhogan
3 years, 7 months ago (2017-05-01 21:02:37 UTC) #7
pdr.
Overall looks good but I don't understand why the 2nd 1) dot moves in rendering-broken-1px-images-expected.png. ...
3 years, 7 months ago (2017-05-03 21:05:28 UTC) #8
rhogan
On 2017/05/03 at 21:05:28, pdr wrote: > Overall looks good but I don't understand why ...
3 years, 7 months ago (2017-05-03 21:06:58 UTC) #9
pdr.
LGTM
3 years, 7 months ago (2017-05-03 21:09:05 UTC) #10
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/2853733004/60001
3 years, 7 months ago (2017-05-04 19:56:51 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 21:35:50 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/2e3e1972ebbfdcbde70ef7c33c98...

Powered by Google App Engine
This is Rietveld 408576698