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

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

mercurial