diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/capture-with-offscreen-child-translated-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-view-transitions/capture-with-offscreen-child-translated-ref.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/capture-with-offscreen-child-translated-ref.html b/testing/web-platform/tests/css/css-view-transitions/capture-with-offscreen-child-translated-ref.html new file mode 100644 index 0000000000..d724d0b7f9 --- /dev/null +++ b/testing/web-platform/tests/css/css-view-transitions/capture-with-offscreen-child-translated-ref.html @@ -0,0 +1,29 @@ +<!doctype html> +<html> +<title>View transitions: offscreen child (ref)</title> +<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> +<link rel="author" href="mailto:vmpstr@chromium.org"> + +<style> +body { + background: pink; +} + +.invisible { + position: absolute; + top: 100px; + width: 50px; + height: 50px; + background: green; +} +.target { + position: relative; + top: 200px; + width: 100px; + height: 100px; + background: blue; +} +</style> + +<div class=target></div> +<div class=invisible></div> |