summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/nested-at-outer-boundary-as-legend.html
blob: 8bf04490f261abced014b6dd4f78ae95396da69d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!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="border:none; margin:0; padding:0; background:red;">
    <legend style="columns:2; column-gap:0; margin:0; padding:0; width:100%;">
      <div style="height:200px; background:green;"></div>
    </legend>
  </fieldset>
</div>