DescriptionPrevent 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)
|