summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-origin/reference/svg-origin-length-pt-ref.html
blob: 3a18177794795057279f5c1f48fc50bc075f269f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
 <head>
  <title>CSS Reftest Reference</title>
  <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
  <meta name="flags" content="svg">
  <style type="text/css">
    svg {
      width: 200px;
      height: 200px;
    }
  </style>
 </head>
 <body>
   <p>The test passes if there is a vertical fuchsia stripe to the left of an orange stripe. You should see no red.</p>
   <svg>
     <!-- Fill with Gradient to avoid false positive. -->
     <defs>
       <linearGradient id="grad">
         <stop offset="50%" stop-color="fuchsia"/>
         <stop offset="50%" stop-color="orange"/>
       </linearGradient>
     </defs>
     <rect width="80pt" height="80pt" transform="rotate(360)" fill="url(#grad)"/>
   </svg>
 </body>
</html>