diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-021-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-021-ref.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-021-ref.html b/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-021-ref.html new file mode 100644 index 0000000000..be71e10eb3 --- /dev/null +++ b/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-021-ref.html @@ -0,0 +1,25 @@ +<!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> |