Support transform-box to switch sizing box in SVG
[WebKit-https.git] / LayoutTests / svg / transforms / svg-transform-box-expected.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5   <style>
6     svg {
7         border: 1px solid black;
8     }
9   </style>
10 </head>
11
12 <body>
13
14     <div class="container">
15         <p>You should see no red boxes below</p>
16         <svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 600 400" style=" width: 600px; height: 400px;">
17             <!-- transform-box: view-box -->
18             <rect x="20" y="10" width="100" height="50" fill="green" />
19             <rect x="480" y="40" width="50" height="50" fill="green" />
20             <rect x="120" y="120" width="50" height="50" fill="green" />
21             <rect x="20" y="200" width="100" height="50" fill="green" />
22             <rect x="480" y="260" width="50" height="50" fill="green" />
23             <rect x="120" y="320" width="50" height="50" fill="green" />
24         </svg>
25     </div>
26
27 </body>
28 </html>