fune/testing/web-platform/tests/css/css-multicol/nested-at-outer-boundary-as-fieldset.html
Morten Stenshorne c37816db47 Bug 1682999 [wpt PR 26935] - Handle inner fieldset / legend multicol at outer boundary., a=testonly
Automatic update from web-platform-tests
Handle inner fieldset / legend multicol at outer boundary.

This used to fail a DCHECK when nested multicol was specified on a
fieldset at an outer fragmentainer boundary, but apart from that, it
worked fine, because BreakBeforeChildIfNeeded() correctly detects the
situation (abortion) and inserts a break before. Just move the DCHECK a
bit down.

No code changes are required for legends, as they are monolithic. Just
replace the TODO with a proper comment, and keep the DCHECK (the legend
test also passes without the code changes in this CL).

Bug: 829028
Change-Id: I62bf97f9bd04c185f86e93103f204cc6d872c438
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595288
Reviewed-by: Alison Maher <almaher@microsoft.com>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#837755}

--

wpt-commits: 170a51682a0df1c5a4d70a7d1e1f74c9fd51460a
wpt-pr: 26935
2020-12-21 15:00:00 +00:00

11 lines
686 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-multicol-1/#the-multi-column-model">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="margin-left:-100px; columns:2; height:100px; width:200px; column-gap:0; column-fill:auto; background:red;">
<div style="height:100px; background:white;"></div>
<fieldset style="columns:2; column-gap:0; border:none; margin:0; padding:0; background:red;">
<div style="height:200px; background:green;"></div>
</fieldset>
</div>