summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-origin/reference/svg-origin-relative-length-invalid-ref.html
blob: 3302f68bd470fc665b648517ccfe3fe2b57d246e (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="150" height="150" fill="url(#grad)"/>
   </svg>
 </body>
</html>