diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-ref.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-ref.html b/testing/web-platform/tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-ref.html new file mode 100644 index 0000000000..67d55eedf4 --- /dev/null +++ b/testing/web-platform/tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-ref.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html> +<title>View transitions: clip-path larger than element bounds on child of a named element (ref)</title> +<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/"> +<link rel="author" href="mailto:khushalsagar@chromium.org"> +<style> +body { + background: lightpink; +} + +.target { + width: 100px; + height: 100px; + background: blue; +} +.child { + width: 10px; + height: 10px; + position: relative; + top: 100px; + left: 100px; + background: green; + clip-path: inset(-10px -100px -50px -20px); +} +</style> + +<div class="target"> + <div class="child"></div> +</div> |