1
0
Fork 0
firefox/testing/web-platform/tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

29 lines
595 B
HTML

<!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>