aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/reference/svg-origin-relative-length-invalid-ref.xht
blob: 62d6c231d7be8f56f810652f39a221914bae035e (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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><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 xmlns="http://www.w3.org/2000/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>