content-visibility-024-ref.html (685B)
1 <!doctype HTML> 2 <html> 3 <meta charset="utf8"> 4 <title>Content Visibility: hidden image (reference)</title> 5 <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org"> 6 <link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility"> 7 8 <style> 9 div { 10 background: blue; 11 color: white; 12 } 13 img { 14 width: 400px; 15 height: 200px; 16 background: lightblue; 17 border: 1px solid black; 18 } 19 </style> 20 21 <div>Test passes if there are two pictures below: one of colored dices over a checkered background, and one of a bunch of circles.</div> 22 <img src="resources/dice.png"></img> 23 <img src="resources/circles.svg"></img> 24 <div>Lorem ipsum consectetur adipiscing elit</div>