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

Issue 253743008: Don't use intrinsic width if our container's width is zero. (Closed)

Created:
6 years, 7 months ago by rhogan
Modified:
6 years, 7 months ago
Reviewers:
ojan
CC:
blink-reviews, chrishtr, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., ojan, rune+blink
Visibility:
Public.

Description

Don't use intrinsic width if our container's width is zero. Since at least r798 we use a replaced element's intrinsic width if its containing block has a width of zero. As a result our rendering of width100percent-image.html has disagreed with all other browsers (IE10, FF29, and Opera(Presto)) and we display replaced elements when they should be invisible. If our container has zero width then let our width be zero too. BUG=235189 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173212

Patch Set 1 #

Patch Set 2 : Updated TestExpectations #

Patch Set 3 : Updated #

Patch Set 4 : Updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -1 line) Patch
M LayoutTests/TestExpectations View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/fast/replaced/container-width-zero.html View 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/fast/replaced/container-width-zero-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
ojan
For posterity, can you include in this review or on the bug which other browsers ...
6 years, 7 months ago (2014-04-29 19:56:11 UTC) #1
rhogan
The CQ bit was checked by robhogan@gmail.com
6 years, 7 months ago (2014-04-29 20:03:37 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/253743008/1
6 years, 7 months ago (2014-04-29 20:04:17 UTC) #3
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 04:50:34 UTC) #4
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-04-30 04:50:36 UTC) #5
rhogan
The CQ bit was checked by robhogan@gmail.com
6 years, 7 months ago (2014-05-01 19:19:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/253743008/20001
6 years, 7 months ago (2014-05-01 19:19:33 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-01 19:19:43 UTC) #8
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-01 19:19:44 UTC) #9
rhogan
The CQ bit was checked by robhogan@gmail.com
6 years, 7 months ago (2014-05-01 19:43:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/253743008/40001
6 years, 7 months ago (2014-05-01 19:44:06 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-01 19:59:52 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink
6 years, 7 months ago (2014-05-01 19:59:53 UTC) #13
rhogan
The CQ bit was checked by robhogan@gmail.com
6 years, 7 months ago (2014-05-02 13:53:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/253743008/40001
6 years, 7 months ago (2014-05-02 13:53:38 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-02 13:53:54 UTC) #16
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-02 13:53:55 UTC) #17
rhogan
The CQ bit was checked by robhogan@gmail.com
6 years, 7 months ago (2014-05-02 15:16:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/253743008/60001
6 years, 7 months ago (2014-05-02 15:16:33 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-02 15:35:13 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_dbg on tryserver.blink
6 years, 7 months ago (2014-05-02 15:35:13 UTC) #21
rhogan
The CQ bit was checked by robhogan@gmail.com
6 years, 7 months ago (2014-05-02 15:53:06 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/253743008/60001
6 years, 7 months ago (2014-05-02 15:53:26 UTC) #23
commit-bot: I haz the power
6 years, 7 months ago (2014-05-02 18:44:55 UTC) #24
Message was sent while issue was closed.
Change committed as 173212

Powered by Google App Engine
This is Rietveld 408576698