<?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="runAfterLayoutAndPaint(repaintTest, true)">
<script xlink:href="../../resources/run-after-layout-and-paint.js"/>
<script>
function repaintTest() {
document.getElementsByTagName("g")[0].setAttribute("style", "display: block");
}
</script>
<rect x='0' y='0' width='100' height='90' fill='green' ></rect>
<g style="display:none;" >
<foreignObject width='100' height='90'>
<html xmlns="http://www.w3.org/1999/xhtml" >
<body style="width: 100px; height: 100px;margin:0; color: #FFFFFF" id="databody" >PASS</body>
</html>
</foreignObject>
</g>
</svg>