layout/base/crashtests/400445-1.xhtml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:math="http://www.w3.org/1998/Math/MathML">
     2 <head>
     3 <script>
     5 function boom()
     6 {
     7   var mtd1 = document.getElementById("mtd1");
     8   var mtd2 = document.getElementById("mtd2");
     9   var newSpan = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
    11   mtd1.appendChild(newSpan);
    12   mtd1.removeAttribute("columnspan");
    13   mtd2.setAttribute("columnspan", 0);
    14 }
    16 </script>
    17 </head>
    19 <body onload="boom();">
    20 <math:mtd id="mtd1" columnspan="5" /><math:mtd id="mtd2" />
    21 </body>
    22 </html>

mercurial