diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/pseudo-element-overflow-hidden-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-view-transitions/pseudo-element-overflow-hidden-ref.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/pseudo-element-overflow-hidden-ref.html b/testing/web-platform/tests/css/css-view-transitions/pseudo-element-overflow-hidden-ref.html new file mode 100644 index 0000000000..02bcb5bb49 --- /dev/null +++ b/testing/web-platform/tests/css/css-view-transitions/pseudo-element-overflow-hidden-ref.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<html style="background:pink"> +<title>View transitions: overflow:hidden is respected on pseudo elements</title> +<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> +<style> +body { + margin: 0px; +} +div { + width: 200px; + height: 200px; +} +#target { + position: absolute; + width: 200px; + height: 200px; + background: green; + overflow: hidden; +} +#inner { + position: relative; + left: 100px; + top: 100px; + background: blue; +} +.offset { + left: 400px; +} +</style> + +<div id="target"><div id="inner"></div></div> +<div id="target" class="offset"><div id="inner"></div></div> +</html> |