| <!-- |
| Any copyright is dedicated to the Public Domain. |
| http://creativecommons.org/publicdomain/zero/1.0/ |
| --> |
| <svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"> |
| <text x="50 50%" y="100" style="font: 16px sans-serif">hello</text> |
| <text x="150" y="100 75%" style="font: 16px sans-serif">there</text> |
| <script> |
| function doTest() { |
| document.documentElement.setAttribute('width',200); |
| document.documentElement.setAttribute('height',200); |
| document.documentElement.removeAttribute("class"); |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| } |
| |
| if (window.testRunner) |
| testRunner.waitUntilDone(); |
| |
| setTimeout(doTest, 100); |
| </script> |
| </svg> |