Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype HTML>
<html>
<meta charset="utf8">
<title>CSS Content Visibility: hidden container in an iframe</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<link rel="match" href="content-visibility-004-ref.html">
<meta name="assert" content="content-visibility hidden makes iframe contents hidden">
<p>Test passes if the word “Fail” does not appear in the box below.</p>
<iframe id="frame" srcdoc='
<style>
#container {
width: 100px;
height: 100px;
content-visibility: hidden;
}
</style>
<div id="container">Fail</div>
'></iframe>
</html>