Skip to content

Commit 7ff7026

Browse files
mstenshochromium-wpt-export-bot
authored andcommitted
Treat NG objects inside legacy fragmentation as monolithic.
And vice versa: Treat legacy objects as monolithic inside NG block fragmentation. The two block fragmentation implementations (NG and legacy) cannot cooperate, so once we switch engine somewhere inside a fragmentation context, we need to treat that subtree as monolithic. This requires us to specify which fragmentation engine is being in use when calling GetPaginationBreakability(), at least when possible at all. This required some work in LayoutFlowThread and LayoutMultiColumnFlowThread. Bug: 1127112 Change-Id: I8e0c4d17fd8985c488614e01db23a0c63e899679 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2416069 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Frédéric Wang <fwang@igalia.com> Cr-Commit-Position: refs/heads/master@{#808334}
1 parent 019dd4e commit 7ff7026

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
3+
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1127112#c9">
4+
<div style="columns:2;">
5+
<div style="display:layout(child-layout);">
6+
line1<br>
7+
line2<br>
8+
line3<br>
9+
</div>
10+
</div>

0 commit comments

Comments
 (0)