layout/reftests/bugs/328829-1.xhtml

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:1779298253a1
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html lang="en" xml:lang="en"
5 xmlns="http://www.w3.org/1999/xhtml"
6 xmlns:svg="http://www.w3.org/2000/svg">
7 <head>
8 <title>Testcase, bug 328829</title>
9 <style type="text/css">
10 html, body, svg { margin: 0; padding: 0; border: none; }
11 body > svg { display:block; } /* don't leave room for descenders! */
12 </style>
13 <script type="application/javascript">
14
15 function run() {
16 setTimeout("document.getElementById('fonted').style.fontSize = '24px'", 0);
17 }
18
19 </script>
20 </head>
21 <body onload="run()">
22
23 <svg:svg width="100%" height="100%">
24 <svg:g id="fonted" style="font-size: 12px">
25 <svg:foreignObject width="100%" height="100%">
26 <span>hello</span> <span>world</span>
27 </svg:foreignObject>
28 </svg:g>
29 </svg:svg>
30
31 </body>
32 </html>

mercurial