OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1
.1/DTD/svg11.dtd"> | 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1
.1/DTD/svg11.dtd"> |
3 <svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg" width="
100%" height="100%"> | 3 <svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg" width="
100%" height="100%"> |
4 <!-- Test that invalid stroke-dasharray values are not applied --> | 4 <!-- Test that invalid stroke-dasharray values are not applied --> |
5 <style type="text/css"><![CDATA[ | 5 <style type="text/css"><![CDATA[ |
6 #rect { | 6 #rect { |
7 stroke-dasharray: none, 3; | 7 stroke-dasharray: none, 3; |
8 stroke-dasharray: 3, none; | 8 stroke-dasharray: 3, none; |
9 stroke-dasharray: nonsense; | 9 stroke-dasharray: nonsense; |
| 10 stroke-dasharray: 3,3,; |
10 } | 11 } |
11 ]]></style> | 12 ]]></style> |
12 <rect id="rect" fill="none" stroke="green" stroke-width="10" stroke-dasharra
y="10 10" width="100" height="100"/> | 13 <rect id="rect" fill="none" stroke="green" stroke-width="10" stroke-dasharra
y="10 10" width="100" height="100"/> |
13 </svg> | 14 </svg> |
OLD | NEW |