1 <?xml version=
"1.0" encoding=
"UTF-8" standalone=
"no"?>
2 <svg xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink" onload=
"runAfterLayoutAndPaint(repaintTest, true)">
3 <script xlink:
href=
"../../resources/run-after-layout-and-paint.js"/>
5 function repaintTest() {
6 document.getElementsByTagName(
"g")[
0].setAttribute(
"style",
"display: block");
10 <g style=
"display:none;" >
12 <html xmlns=
"http://www.w3.org/1999/xhtml" >
13 <body style=
"width: 100px; height: 100px;margin:0; color: #FFFFFF; position: relative" id=
"databody" >PASS
</body>
17 <rect x='
0' y='
0' width='
100' height='
90' fill='green'
></rect>