Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<html lang=en>
<meta charset=utf-8>
<title>CSS-contain test reference</title>
<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>