diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/content-with-transform-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-view-transitions/content-with-transform-ref.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/content-with-transform-ref.html b/testing/web-platform/tests/css/css-view-transitions/content-with-transform-ref.html new file mode 100644 index 0000000000..629c8f0cc9 --- /dev/null +++ b/testing/web-platform/tests/css/css-view-transitions/content-with-transform-ref.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<title>Shared transitions: object-view-box (ref)</title> +<link rel="help" href="https://github.com/WICG/view-transitions"> +<link rel="author" href="mailto:vmpstr@chromium.org"> +<style> +.target { + contain: paint; + width: 100px; + height: 100px; + transform: scale(2.0, 3.0); +} + +.embedded { + width: 100px; + height: 50px; +} + +</style> +<div id="target" class="target"> + <div class="embedded" style="background: green;">Shared</div> + <div class="embedded" style="background: blue">Element</div> +</div> +</div> + |