gecko-dev/testing/web-platform/tests/css/css-contain/reference/contain-style-breaks-004-ref.html
Florian Rivoal 8781392a30 Bug 1455648 [wpt PR 10549] - Css contain, a=testonly
Automatic update from web-platform-testsMerge pull request #10549 from frivoal/css-contain

Css contain
--

wpt-commits: 17274893c118dafebec900376933248efb2a3735
wpt-pr: 10549
2018-05-02 07:46:34 +01:00

30 lines
597 B
HTML

<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS-contain test reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
article {
columns: 2 1ch;
column-gap: 0;
float: left;
font-family: monospace;
margin-right: 3em;
line-height: 1;
height: 4em;
column-fill: auto;
}
div:last-of-type {
break-before: column;
}
</style>
<p>Test passes if there are two identical blocks “A” letters below.
<article>
<div>A<br>A</div>
<div>A<br>A</div>
</article>
<article>
<div>A<br>A</div>
<div>A<br>A</div>
</article>