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.

     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">
     2 <head>
     4 <xbl:bindings><xbl:binding id="res"><xbl:content><xul:resizer><xbl:children/></xul:resizer></xbl:content></xbl:binding></xbl:bindings>
     6 <script type="text/javascript">
     8 function boom()
     9 {
    10   var x = document.getElementById("x");
    12   var r = document.createRange();
    13   r.setEnd(x, 1);
    14   r.extractContents();
    16   x.appendChild(document.createElement('span'));
    17 }
    19 </script>
    20 </head>
    22 <body onload="boom();">
    23 <xul:rows id="x" style="-moz-binding: url(#res);"><math:ms/></xul:rows>
    24 </body>
    25 </html>

mercurial