1
0
Fork 0
firefox/testing/web-platform/tests/css/css-masking/clip-path/clip-path-svg-invalidate-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

28 lines
520 B
HTML

<!doctype html>
<html>
<title>Clip Path: invalidate composited clip-path via SVG</title>
<link rel="author" title="Chris Harrelson" href="mailto:chrishtr@chromium.org">
<style>
body {
margin: 0;
}
div {
height: 500px;
background: black;
clip-path: url(#clip);
will-change: transform;
}
svg {
width: 0;
height: 0;
}
</style>
<div></div>
<svg viewBox="0 0 1 1">
<clipPath id="clip" clipPathUnits="objectBoundingBox">
<polygon points="0,0 0.5,1 1,0" />
</clipPath>
</svg>