mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 14:20:14 +02:00
Automatic update from web-platform-testsMerge pull request #10549 from frivoal/css-contain Css contain -- wpt-commits: 17274893c118dafebec900376933248efb2a3735 wpt-pr: 10549
36 lines
565 B
HTML
36 lines
565 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;
|
|
}
|
|
div {
|
|
page-break-inside: avoid;
|
|
break-inside: avoid;
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if there are two identical blocks “A” letters below.
|
|
<article>
|
|
<div>
|
|
A<br>
|
|
A<br>
|
|
A<br>
|
|
A
|
|
<div>
|
|
</article>
|
|
<article>
|
|
<div>
|
|
A<br>
|
|
A<br>
|
|
A<br>
|
|
A
|
|
<div>
|
|
</article>
|