25 lines
690 B
HTML
25 lines
690 B
HTML
<!doctype HTML>
|
|
<html>
|
|
<meta charset="utf8">
|
|
<title>Content Visibility: hidden image (reference)</title>
|
|
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
|
|
<link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
|
|
|
|
<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>
|