Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / dynamic-viewBox.svg
bloba8d6f9e8de824308f7454b2dd523ac92e15d9ca4
1 <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2 <svg onload="init()" width="200" height="200" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400">
3 <script>
4 <![CDATA[
5 function init() {
6 document.rootElement.setAttribute("viewBox", "0 0 20 20");
8 ]]>
9 </script>
10 <rect fill="red" width="40" height="40"/>
11 <rect fill="green" width="20" height="20"/>
12 </svg>