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

michael@0 1 <html xmlns="http://www.w3.org/1999/xhtml"
michael@0 2 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 3 xmlns:math="http://www.w3.org/1998/Math/MathML"><head>
michael@0 4 </head>
michael@0 5 <body><xul:box collapsed="true"><math:mrow><div id="div">
michael@0 6 <p id="para">Foo bar</p>
michael@0 7
michael@0 8 </div></math:mrow></xul:box>
michael@0 9
michael@0 10 <script type="application/javascript">
michael@0 11 try
michael@0 12 {
michael@0 13 document.body.offsetWidth;
michael@0 14
michael@0 15 var para = document.getElementById("para");
michael@0 16 var div = document.getElementById("div");
michael@0 17 var hbox = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
michael@0 18 'hbox');
michael@0 19
michael@0 20 div.appendChild(hbox);
michael@0 21
michael@0 22 document.body.offsetWidth;
michael@0 23
michael@0 24 div.appendChild(para);
michael@0 25 }
michael@0 26 catch (e)
michael@0 27 {
michael@0 28 document.body.appendChild(document.createTextNode(e));
michael@0 29 }
michael@0 30 </script>
michael@0 31 </body></html>

mercurial