Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / pattern-reference.svg
blob641dc866f7f490835be598225019ffb067454093
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 -->
4 <defs>
5 <pattern id="ref_pattern1" patternUnits="userSpaceOnUse" width="100" height="100" viewBox="0 0 100 100">
6 <rect width="100" height="100" fill="green"/>
7 </pattern>
8 <pattern id="ref_pattern2" patternUnits="userSpaceOnUse" width="100" height="100" viewBox="0 0 100 100">
9 <rect width="100" height="100" fill="red"/>
10 </pattern>
12 <pattern id="pattern1" xlink:href="#ref_pattern1">
13 random text node - should be ignored
14 </pattern>
15 <pattern id="pattern2" xlink:href="#ref_pattern2">
16 <rect width="100" height="100" fill="green"/>
17 </pattern>
18 </defs>
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)"/>
23 </svg>