Skip to content

Commit

Permalink
A column-spanning legend isn't part of the flow thread.
Browse files Browse the repository at this point in the history
The containing block of a spanner is always the multicol container
itself.

Bug: 1123710, 1123792
Change-Id: I3486e6ad2484396548f8682c842a6fb8a731e058
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386799
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803609}
  • Loading branch information
mstensho authored and chromium-wpt-export-bot committed Sep 1, 2020
1 parent f135c6d commit 43847c6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions css/css-multicol/spanning-legend-000-crash.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!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=1123710">
<div style="columns:2;">
<legend style="column-span:all; columns:2;">
<div></div>
</legend>
</div>
9 changes: 9 additions & 0 deletions css/css-multicol/spanning-legend-001-crash.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!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=1123792">
<div style="columns:2;">
<legend id="legend" style="column-span:all;"></legend>
</div>
<script>
legend.getBoundingClientRect();
</script>

0 comments on commit 43847c6

Please sign in to comment.