Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype HTML>
<meta charset="utf8">
<title>CSS Content Visibility: auto in overflow hidden paints</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<link rel="match" href="content-visibility-079-ref.html">
<meta name="assert" content="content-visibility auto element paints in an overflow hidden element that is not sized">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
.auto {
content-visibility: auto;
font: 25px/1 Ahem;
}
.overflow { overflow: hidden; }
</style>
<p>Test passes if you see a black rectangle below.
<div class=overflow>
<div class=auto>PASS</div>
</div>