Issue metadata
Sign in to add a comment
|
Replaced elements overflowing in block direction under multicol container are sliced |
||||||||||||||||||||||
Issue descriptionA frame and its contents can be fragmented if the frame is under a multicol container. For now PaintLayer::EnclosingPaginationContainer() doesn't cross frame boundaries, so the frame contents don't know they are fragmented. This causes multiple subsequences created for the stacking contexts in the frame causing wrong subsequence caching, and bugs like bug 797491 .
,
Jan 30 2018
With the #c1 CL fragmented frames work for SPv175, though not optimal. Unblock SPv175 from it.
,
Apr 23 2018
I'm combining this into bug 807382 because I think the root cause is the same: some multicol contents don't know they are fragmented because PaintLayer::EnclosingPaginationContainer() doesn't cross some boundaries.
,
Apr 25 2018
I'm separating this bug from bug 807382 because they turned out to be very different. Copied from https://bugs.chromium.org/p/chromium/issues/detail?id=807382#c10: Firefox doesn't break inside of iframes (as well as many other replaced elements, e.g. img), as if they have break-inside:avoid. break-inside:avoid seems not working in Chromium for now. Possible solutions to the fragmentation problem: a) Support break-inside:avoid, and force it for these elements; or b) Fix bugs in breaking these elements into fragments. Discussed with chrishtr@ yesterday and we are inclined to a). My might just leave the work to layout_ng. mstensho@ do you have any suggestions?
,
Apr 25 2018
break-inside:avoid generally works fine in Chrome, but what doesn't work is overflowing the column boxes. This is due to the flowthread design, which just slices, clips and translates portions of the flowthread, so that it appears like columns. LayoutNG will fix this. For the current generation, though, we have to live with the flow thread. b) is not an option, because this type of content is not considered monolithic by the spec [1], and is not supposed to be fragmented. [1] https://www.w3.org/TR/css-break-3/#end-block
,
Apr 25 2018
Thanks mstensho@ for the reply. I would leave this bug to layout_ng. Tried to update the summary to be more accurate. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by bugdroid1@chromium.org
, Dec 27 2017