Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Containment Test: 'contain: size' applies to block box (basic)</title>
<link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="match" href="reference/contain-size-061-ref.html">
<style>
div
{
contain: size;
font-size: 100px;
overflow: hidden;
}
</style>
<p>Test passes if the word FAIL is absent.
<div>FAIL</div>