layout/reftests/bugs/328829-1.xhtml

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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">
    15 	function run() {
    16 		setTimeout("document.getElementById('fonted').style.fontSize = '24px'", 0);
    17 	}
    19 	</script>
    20 </head>
    21 <body onload="run()">
    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>
    31 </body>
    32 </html>

mercurial