Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / foreignObject / fO-parent-display-changes.svg
blob467eb411168eaa83a2510a8b29e2e1d6ce583558
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"/>
4 <script>
5 function repaintTest() {
6 document.getElementsByTagName("g")[0].setAttribute("style", "display: block");
8 </script>
10 <g style="display:none;" >
11 <foreignObject>
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>
14 </html>
15 </foreignObject>
16 </g>
17 <rect x='0' y='0' width='100' height='90' fill='green' ></rect>
18 </svg>