layout/mathml/crashtests/477740-1.xhtml

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

michael@0 1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xbl="http://www.mozilla.org/xbl" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:math="http://www.w3.org/1998/Math/MathML">
michael@0 2 <head>
michael@0 3
michael@0 4 <xbl:bindings><xbl:binding id="res"><xbl:content><xul:resizer><xbl:children/></xul:resizer></xbl:content></xbl:binding></xbl:bindings>
michael@0 5
michael@0 6 <script type="text/javascript">
michael@0 7
michael@0 8 function boom()
michael@0 9 {
michael@0 10 var x = document.getElementById("x");
michael@0 11
michael@0 12 var r = document.createRange();
michael@0 13 r.setEnd(x, 1);
michael@0 14 r.extractContents();
michael@0 15
michael@0 16 x.appendChild(document.createElement('span'));
michael@0 17 }
michael@0 18
michael@0 19 </script>
michael@0 20 </head>
michael@0 21
michael@0 22 <body onload="boom();">
michael@0 23 <xul:rows id="x" style="-moz-binding: url(#res);"><math:ms/></xul:rows>
michael@0 24 </body>
michael@0 25 </html>

mercurial