1 <svg id=
"svg" width=
"200" height=
"200" version=
"1.1" xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink">
4 <rect width=
"25%" height=
"25%" fill=
"white"/>
8 <rect x=
"27%" width=
"25%" height=
"25%"/>
11 <pattern id=
"pattern" patternUnits=
"userSpaceOnUse" x=
"0" y=
"0" width=
"800" height=
"800">
12 <rect x=
"54%" width=
"25%" height=
"25%" fill=
"green"/>
16 <rect width=
"25%" height=
"25%" fill=
"red"/>
17 <rect width=
"800" height=
"800" fill=
"green" mask=
"url(#mask)"/>
19 <rect x=
"27%" width=
"25%" height=
"25%" fill=
"red"/>
20 <rect width=
"800" height=
"800" fill=
"green" clip-path=
"url(#clip)"/>
22 <rect x=
"54%" width=
"25%" height=
"25%" fill=
"red"/>
23 <rect width=
"800" height=
"800" fill=
"url(#pattern)"/>
27 if (window.testRunner) {
29 testRunner.waitUntilDone();
32 setTimeout(function() {
33 document.getElementById('svg').setAttribute('width', '
400');
34 document.getElementById('svg').setAttribute('height', '
400');
36 if (window.testRunner)
37 testRunner.notifyDone();