diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/new-content-changes-overflow-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-view-transitions/new-content-changes-overflow-ref.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/new-content-changes-overflow-ref.html b/testing/web-platform/tests/css/css-view-transitions/new-content-changes-overflow-ref.html new file mode 100644 index 0000000000..5f75909e82 --- /dev/null +++ b/testing/web-platform/tests/css/css-view-transitions/new-content-changes-overflow-ref.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<title>View transitions: capture elements and then change overflow (ref)</title> +<link rel="help" href="https://github.com/WICG/view-transitions"> +<link rel="author" href="mailto:vmpstr@chromium.org"> +<style> +body { background: pink } +#target { + position: relative; + background: green; + width: 100px; + height: 100px; + view-transition-name: target; +} +#child { + background: blue; + position: relative; + top: 20px; + left: 30px; + width: 50px; + height: 100px; +} +#child.large { + height: 200px; +} +</style> + +<div id=target><div id=child class=large></div></div> |