content/base/crashtests/822723.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/crashtests/822723.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<script>
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +  var outer = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
    1.12 +  outer.setAttribute("dir", "auto");
    1.13 +  var inner = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
    1.14 +  inner.appendChild(document.createTextNode("A"));
    1.15 +  inner.appendChild(document.createTextNode("B"));
    1.16 +  outer.appendChild(inner);
    1.17 +  inner.setAttribute("dir", "ltr");
    1.18 +}
    1.19 +
    1.20 +</script>
    1.21 +</head>
    1.22 +<body onload="boom();"></body>
    1.23 +</html>

mercurial