layout/reftests/bugs/328829-2.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.

     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" class="reftest-wait"
     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 		document.getElementById('fonted').style.fontSize = '24px';
    17 		document.documentElement.removeAttribute('class');
    18 	}
    20 	document.addEventListener("MozReftestInvalidate", run, false);
    21 	</script>
    22 </head>
    23 <body id="fonted" style="font-size: 12px">
    25 <svg:svg width="100%" height="100%">
    26 	<svg:g>
    27 		<svg:foreignObject width="100%" height="100%">
    28 			<span>hello</span> <span>world</span>
    29 		</svg:foreignObject>
    30 	</svg:g>
    31 </svg:svg>
    33 </body>
    34 </html>

mercurial