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

Issue 1224973002: Prevent overflowing content from affecting multicol layout. (Closed)

Created:
5 years, 5 months ago by mstensho (USE GERRIT)
Modified:
5 years, 5 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

Prevent overflowing content from affecting multicol layout. Don't let visual overflow (caused by outlines, text-shadow, text overflowing its line box, and other things) affect layout. Note that this CL does exchange one problem for another, but it should be better to have stable and predictable (and correct) layout, than hacking line positions and column heights to make the overflow fit in the same column as the line box. This fixes a problem with links in multicol lists on wikipedia jumping back and forth between columns. What we're really lacking (after this CL, more than ever) is to be able to paint column overflow correctly in the block direction. Fixing that would be the right thing to do long-term, but it's going to require substantial amounts of work (and probably a great deal of multicol awareness in the painting and hit-testing code). Removed the fast/multicol/split-in-top-margin.html test, since the behavior it tested is what we remove in this CL. calculateMinimumPageHeight() could be simplified because of this change, including removal of (now) redundant parameters. BUG=439820 R=dsinclair@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198683

Patch Set 1 #

Patch Set 2 : fast/dom/Element/getBoundingClientRect.html has started to pass on Mac. Update expectation files. #

Patch Set 3 : rebase master #

Messages

Total messages: 17 (7 generated)
mstensho (USE GERRIT)
5 years, 5 months ago (2015-07-07 19:44:00 UTC) #1
dsinclair
+a few more folks.
5 years, 5 months ago (2015-07-07 19:47:51 UTC) #3
mstensho (USE GERRIT)
Would be nice with some feedback on this one asap-ish, since I think we want ...
5 years, 5 months ago (2015-07-08 18:34:26 UTC) #5
leviw_travelin_and_unemployed
Multicolumn is hard :( Before I hit the button, are there real-world sites we know ...
5 years, 5 months ago (2015-07-08 21:06:49 UTC) #6
mstensho (USE GERRIT)
On 2015/07/08 21:06:49, leviw wrote: > Multicolumn is hard :( It's not meant for the ...
5 years, 5 months ago (2015-07-09 06:52:40 UTC) #7
leviw_travelin_and_unemployed
On 2015/07/09 at 06:52:40, mstensho wrote: > On 2015/07/08 21:06:49, leviw wrote: > > Multicolumn ...
5 years, 5 months ago (2015-07-09 20:38:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224973002/20001
5 years, 5 months ago (2015-07-09 20:38:24 UTC) #10
commit-bot: I haz the power
Failed to apply patch for Source/core/layout/LayoutBlockFlow.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
5 years, 5 months ago (2015-07-09 21:55:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224973002/40001
5 years, 5 months ago (2015-07-10 12:39:53 UTC) #16
commit-bot: I haz the power
5 years, 5 months ago (2015-07-10 12:44:25 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198683

Powered by Google App Engine
This is Rietveld 408576698