| OLD | NEW |
| (Empty) |
| 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k"> | |
| 2 <style type="text/css" media="all"> | |
| 3 /* These rules intentionally use 'incorrect' fallback families | |
| 4 So that if the font-face defined font can't be found the test fails. */ | |
| 5 #csstest { | |
| 6 font: 2.3cm "csstest", cursive; | |
| 7 } | |
| 8 #svgtest { | |
| 9 font: 2.3cm "svgtest", fantasy; | |
| 10 } | |
| 11 @font-face { | |
| 12 font-family: "csstest"; | |
| 13 src: local("Courier"), local("Courier New"); | |
| 14 } | |
| 15 </style> | |
| 16 <defs> | |
| 17 <font-face id="test" font-family="svgtest"> | |
| 18 <font-face-src> | |
| 19 <font-face-name name="Courier" /> | |
| 20 </font-face-src> | |
| 21 </font-face> | |
| 22 </defs> | |
| 23 <text id="csstest" x="10" y="3cm">CSS font-face</text> | |
| 24 <text id="svgtest" x="10" y="6cm">SVG font-face</text> | |
| 25 <text x="40" y="7cm">The fonts used above should be identical</text> | |
| 26 </svg> | |
| OLD | NEW |