diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/content-visibility/spacer-with-top-layer-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-contain/content-visibility/spacer-with-top-layer-ref.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/content-visibility/spacer-with-top-layer-ref.html b/testing/web-platform/tests/css/css-contain/content-visibility/spacer-with-top-layer-ref.html new file mode 100644 index 0000000000..e274b0fcaa --- /dev/null +++ b/testing/web-platform/tests/css/css-contain/content-visibility/spacer-with-top-layer-ref.html @@ -0,0 +1,18 @@ +<!doctype html> +<meta charset="utf8"> +<title>CSS Content Visibility: dialog shows under c-v auto (ref)</title> + +<style> +.box { width: 100px; height: 100px; border: 1px solid black; } +.spacer { width: 10px; height: 3000px; background: lightblue; } +</style> + +<div class=spacer></div> +<div id=container class=box> +content +<dialog id=dialog>PASS<div id=inner></div></dialog> +</div> + +<script> +dialog.showModal(); +</script> |