Source code
Revision control
Copy as Markdown
Other Tools
<!doctype HTML>
<html>
<meta charset="utf8">
<title>Content Visibility: hidden image (reference)</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<style>
div {
background: blue;
color: white;
}
.myimg {
display: inline-block;
width: 400px;
height: 200px;
background: lightblue;
border: 1px solid black;
}
</style>
<div>Test passes if there are two identical light blue boxes below and no image in them.</div>
<div class="myimg"></div>
<div class="myimg"></div>
<div>Test passes if there are two identical light blue boxes above and no image in them.</div>