content/base/crashtests/348049-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/crashtests/348049-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.5 +<head>
     1.6 +
     1.7 +<bindings xmlns="http://www.mozilla.org/xbl">
     1.8 +
     1.9 +<binding id="td">
    1.10 +  <content>
    1.11 +    <html:td><children/></html:td>
    1.12 +  </content>
    1.13 +</binding>
    1.14 +
    1.15 +<binding id="foo">
    1.16 +  <content>
    1.17 +    <html:span/>
    1.18 +  </content>
    1.19 +</binding>
    1.20 +
    1.21 +</bindings>
    1.22 +
    1.23 +
    1.24 +<script>
    1.25 +function f1()
    1.26 +{
    1.27 +  document.getElementById("inner").style.MozBinding = "url(#foo)";
    1.28 +  document.documentElement.removeAttribute("class");
    1.29 +}
    1.30 +</script>
    1.31 +
    1.32 +</head>
    1.33 +
    1.34 +
    1.35 +<body onload="setTimeout(f1, 30);">
    1.36 +
    1.37 +
    1.38 +<div id="outer" style="-moz-binding: url(#td)"><div id="inner">M</div></div>
    1.39 +
    1.40 +
    1.41 +</body>
    1.42 +
    1.43 +</html>

mercurial