layout/reftests/bugs/328829-1.xhtml

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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

mercurial