diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/content-visibility/positioned-container-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-contain/content-visibility/positioned-container-ref.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/content-visibility/positioned-container-ref.html b/testing/web-platform/tests/css/css-contain/content-visibility/positioned-container-ref.html new file mode 100644 index 0000000000..2ea2c18b0d --- /dev/null +++ b/testing/web-platform/tests/css/css-contain/content-visibility/positioned-container-ref.html @@ -0,0 +1,22 @@ +<!doctype HTML> +<html> +<meta charset="utf8"> +<title>CSS Content Visibility: positioned container (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> +#container { + width: 150px; + height: 150px; + background: lightblue; +} +.positioned { + position: absolute; + top: 0; + left: 0; +} +</style> + +<div id=container class=positioned></div> + |