summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/perspective-svg-001.html
blob: d22b1156f916e9ab0567e55b2f2310fd384bdc1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!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>