layout/reftests/bugs/373533-2.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/373533-2.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml"  
     1.5 +      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     1.6 +      xmlns:math="http://www.w3.org/1998/Math/MathML"><head>
     1.7 +</head>
     1.8 +<body><xul:box collapsed="true"><math:mrow><div id="div">
     1.9 +<p id="para">Foo bar</p>
    1.10 +
    1.11 +</div></math:mrow></xul:box>
    1.12 +
    1.13 +<script type="application/javascript">
    1.14 +try
    1.15 +{
    1.16 +  document.body.offsetWidth;
    1.17 +
    1.18 +  var para = document.getElementById("para");
    1.19 +  var div = document.getElementById("div");
    1.20 +  var hbox = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
    1.21 +                                      'hbox');
    1.22 +
    1.23 +  div.appendChild(hbox);
    1.24 +
    1.25 +  document.body.offsetWidth;
    1.26 +
    1.27 +  div.appendChild(para);
    1.28 +}
    1.29 +catch (e)
    1.30 +{
    1.31 +  document.body.appendChild(document.createTextNode(e));
    1.32 +}
    1.33 +</script>
    1.34 +</body></html>

mercurial