summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/page-property-ignored.html
blob: 7e77b846d9a6c237b694723f392079b33aefb358 (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-page-3/#using-named-pages">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="The 'page' property affects breaking, but only for pagination, and not for multicol. Test that it has no effect inside multicol.">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="width:100px; background:red;">
  <div style="columns:3; column-fill:auto; gap:0; width:300px; height:100px;">
    <div style="height:50px; background:green;"></div>
    <div style="page:foo; height:25px; background:green;"></div>
    <div style="page:bar; height:25px; background:green;"></div>
  </div>
</div>