1 <?xml version=
"1.0" standalone=
"no"?>
2 <svg xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink">
3 <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=111586 -->
5 <pattern id=
"ref_pattern1" patternUnits=
"userSpaceOnUse" width=
"100" height=
"100" viewBox=
"0 0 100 100">
6 <rect width=
"100" height=
"100" fill=
"green"/>
8 <pattern id=
"ref_pattern2" patternUnits=
"userSpaceOnUse" width=
"100" height=
"100" viewBox=
"0 0 100 100">
9 <rect width=
"100" height=
"100" fill=
"red"/>
12 <pattern id=
"pattern1" xlink:
href=
"#ref_pattern1">
13 random text node - should be ignored
15 <pattern id=
"pattern2" xlink:
href=
"#ref_pattern2">
16 <rect width=
"100" height=
"100" fill=
"green"/>
20 <!-- You should see two green rects -->
21 <rect width=
"100" height=
"100" fill=
"url(#pattern1)"/>
22 <rect x=
"200" width=
"100" height=
"100" fill=
"url(#pattern2)"/>