no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / svg / dynamic-rect-04.xhtml
blob479406edb78cbf801c36c4089d8e19f53251ceda
1 <?xml version="1.0"?>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <html xmlns="http://www.w3.org/1999/xhtml">
7 <head>
8 <title>Testcase reference file dynamic svg creation</title>
9 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=438867 -->
10 <script>
11 function m() {
12 var SVG_NS = "http://www.w3.org/2000/svg";
13 var svg = document.createElementNS(SVG_NS, 'svg');
14 svg.style.position = 'absolute';
15 svg.style.left = '0px';
16 svg.style.top = '0px';
17 svg.style.width = '100%';
18 svg.style.height = '100%';
19 document.body.appendChild(svg);
21 var rect = document.createElementNS(SVG_NS, "rect");
22 rect.setAttribute('width', '100%');
23 rect.setAttribute('height', '100%');
24 rect.setAttribute('fill', 'lime');
25 svg.appendChild(rect);
27 </script>
28 </head>
29 <body onload="m();">
30 <hr style="clear: both;"/>
31 </body>
32 </html>