1
0
Fork 0
firefox/testing/web-platform/tests/css/css-transforms/perspective-svg-001.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

19 lines
693 B
HTML

<!DOCTYPE html>
<title>Perspective on SVG</title>
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#perspective-property">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1741124">
<link rel="match" href="perspective-svg-001-ref.html">
<div style="perspective: 1500px;">
<svg overflow="hidden"
width="100%"
height="100%"
viewBox="0 0 365760 205740"
style="
backface-visibility: hidden;
transform: translate3d(0px, 0px, 0px)
rotate3d(0, 0, 0, 0deg) translate3d(0px, 0px, 0px)
translate3d(0px, 0px, 0px);
">
<rect fill="green" width="100%" height="100%"></rect>
</svg>
</div>