1 <svg width=
"800" height=
"600" xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink" onload=
"runRepaintAndPixelTest()">
2 <script xlink:
href=
"../../fast/repaint/resources/text-based-repaint.js"/>
3 <mask id=
"Mask" maskUnits=
"userSpaceOnUse" x=
"0" y=
"0" width=
"800" height=
"300">
4 <rect x=
"0" y=
"0" width=
"800" height=
"300" fill=
"none"/>
8 function repaintTest() {
9 document.getElementById(
"Mask").firstChild.nextSibling.setAttribute(
"fill",
"red");
13 <rect x=
"0" y=
"100" width=
"800" height=
"100" fill=
"blue" mask=
"url(#Mask)"/>