forked from mirrors/gecko-dev
Automatic update from web-platform-tests [LayoutNG] Don't allow multicol + custom layout on the same node. This should be a useless combination, just like it is to combine flex, grid and tables with multicol. Multicol should only be enabled for nodes that would otherwise create a block container (NGBlockLayoutAlgorithm). Move the custom layout option higher up in the algorithm picker, so that it trumps multicol. Also avoid creating the multicol flow thread if we have custom layout, or we'd confuse other pieces of the engine, when we in fact use custom layout and not multicol. As we move forward with the NG block fragmentation implementation, we'll eventually stop creating the flow thread, but for now, it's still in use, because we use the legacy engine for painting. Bug: 997403, 998423 Change-Id: Id8577da0b129d9182fb9195f508dd57195290ee4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774277 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#692447} -- wpt-commits: c05529a9dfbda874a8f1f48eb20248a794c52e71 wpt-pr: 18741
21 lines
677 B
HTML
21 lines
677 B
HTML
<!DOCTYPE html>
|
|
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
|
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=997403">
|
|
<div id="elm" style="display:layout(parent); columns:2; width:10em; height:60px; column-fill:auto; line-height:20px;">
|
|
x
|
|
<span>
|
|
<div style="display:inline-block;"></div>
|
|
</span>
|
|
<div style="height:1px;"></div>
|
|
<br>
|
|
</div>
|
|
<script>
|
|
</script>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script>
|
|
document.body.offsetTop;
|
|
elm.style.display = "none";
|
|
document.body.offsetTop;
|
|
test(()=> {}, "No crash");
|
|
</script>
|