diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/new-content-ancestor-clipped-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-view-transitions/new-content-ancestor-clipped-ref.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/new-content-ancestor-clipped-ref.html b/testing/web-platform/tests/css/css-view-transitions/new-content-ancestor-clipped-ref.html new file mode 100644 index 0000000000..caa99f2807 --- /dev/null +++ b/testing/web-platform/tests/css/css-view-transitions/new-content-ancestor-clipped-ref.html @@ -0,0 +1,34 @@ +<!doctype HTML> +<html> +<head> +<style> +html { + background: lightpink; +} +div { + position: relative; + width: 200px; + height: 200px; +} + +.outer { + background-color: blue; + box-shadow: -50px -50px 0px 0px rgba(0,0,0,1); + left: 100px; + top: 100px; +} + +.inner { + background-color: red; + left: 50px; + top: 50px; +} + +</style> +</head> +<body> +</body> +<div class="outer"> + <div class="inner"></div> +</div> +</html> |