| OLD | NEW |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html11/DTD/xhtml1-strict.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html11/DTD/xhtml1-strict.dtd"> |
| 2 <html xmlns="http://www.w3.org/1999/xhtml" > | 2 <html xmlns="http://www.w3.org/1999/xhtml" > |
| 3 <head> | 3 <head> |
| 4 <title>userSpaceOnUse SVG Patterns</title> | 4 <title>userSpaceOnUse SVG Patterns</title> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 There should be no red displayed on the screen, and the patterns should not chan
ge when the browser window is resized.<br/><br/> | 7 There should be no red displayed on the screen, and the patterns should not chan
ge when the browser window is resized.<br/><br/> |
| 8 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" id="svg" width="200" height="300" style="border: solid 1px black;"> | 8 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" id="svg" width="200" height="300" style="border: solid 1px black;"> |
| 9 <g> | 9 <g> |
| 10 <rect x="0" y="100" width="100" height="50" fill="red"/> | 10 <rect x="0" y="100" width="100" height="50" fill="red"/> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 <rect width="100" height="50" fill="red"/> | 24 <rect width="100" height="50" fill="red"/> |
| 25 <rect width="100" height="100" fill="url(#pattern)"/> | 25 <rect width="100" height="100" fill="url(#pattern)"/> |
| 26 </g> | 26 </g> |
| 27 <defs> | 27 <defs> |
| 28 <pattern id="pattern" patternUnits="userSpaceOnUse" patternContentUnits=
"userSpaceOnUse" x="0" y="0" width="100" height="100"> | 28 <pattern id="pattern" patternUnits="userSpaceOnUse" patternContentUnits=
"userSpaceOnUse" x="0" y="0" width="100" height="100"> |
| 29 <rect width="100" height="25" preserveAspectRatio="none" fill="green
"/> | 29 <rect width="100" height="25" preserveAspectRatio="none" fill="green
"/> |
| 30 <rect width="100" y="25" height="25" preserveAspectRatio="none" fill
="blue"/> | 30 <rect width="100" y="25" height="25" preserveAspectRatio="none" fill
="blue"/> |
| 31 </pattern> | 31 </pattern> |
| 32 </defs> | 32 </defs> |
| 33 </svg> | 33 </svg> |
| 34 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" id="svg" width="200" height="300" style="border: solid 1px black; -webkit-tra
nsform: translateZ(0px); -moz-transform: translateZ(0px); -o-transform: translat
eZ(0px);"> | 34 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" id="svg" width="200" height="300" style="border: solid 1px black; transform:
translateZ(0px); -moz-transform: translateZ(0px); -o-transform: translateZ(0px);
"> |
| 35 <text x="5" y="280">+Accelerated Compositing</text> | 35 <text x="5" y="280">+Accelerated Compositing</text> |
| 36 <g> | 36 <g> |
| 37 <rect x="0" y="100" width="100" height="100" fill="url(#pattern)"/> | 37 <rect x="0" y="100" width="100" height="100" fill="url(#pattern)"/> |
| 38 <rect x="100" y="0" width="100" height="100" fill="url(#pattern)"/> | 38 <rect x="100" y="0" width="100" height="100" fill="url(#pattern)"/> |
| 39 </g> | 39 </g> |
| 40 </svg> | 40 </svg> |
| 41 </body> | 41 </body> |
| 42 </html> | 42 </html> |
| OLD | NEW |