19 lines
753 B
XML
19 lines
753 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()">
|
|
<script xlink:href="../../fast/repaint/resources/repaint.js"/>
|
|
<script>
|
|
function repaintTest() {
|
|
document.getElementsByTagName("g")[0].setAttribute("style", "display: block");
|
|
}
|
|
</script>
|
|
|
|
<g style="display:none;" >
|
|
<foreignObject>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" >
|
|
<body style="width: 100px; height: 100px;margin:0; color: #FFFFFF; position: relative" id="databody" >PASS</body>
|
|
</html>
|
|
</foreignObject>
|
|
</g>
|
|
<rect x='0' y='0' width='100' height='90' fill='green' ></rect>
|
|
</svg>
|