aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/reference/svg-origin-relative-length-ref.htm
blob: 5431194c39beab3d99c61f0560a70232106af0b1 (plain) (blame)
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
<!DOCTYPE html>
<html><head>
  <title>CSS Reftest Reference</title>
  <link href="mailto:dschulze@adobe.com" rel="author" title="Dirk Schulze">
  <meta content="svg" name="flags">
  <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 stop-color="fuchsia" offset="50%"></stop>
         <stop stop-color="orange" offset="50%"></stop>
       </linearGradient>
     </defs>
     <rect width="150" fill="url(#grad)" height="150"></rect>
   </svg>
 
</body></html>