diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/new-content-changes-overflow-left-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-view-transitions/new-content-changes-overflow-left-ref.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/new-content-changes-overflow-left-ref.html b/testing/web-platform/tests/css/css-view-transitions/new-content-changes-overflow-left-ref.html new file mode 100644 index 0000000000..e86e5197da --- /dev/null +++ b/testing/web-platform/tests/css/css-view-transitions/new-content-changes-overflow-left-ref.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<title>View transitions: capture elements and then change overflow (ref)</title> +<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> +<style> +body { background: pink } +#target { + position: relative; + background: green; + left: 10px; + width: 100px; + height: 100px; + view-transition-name: target; +} +#target.toggle { + outline: 300px solid transparent; +} +</style> + +<div id=target class=toggle></div> + |