layout/reftests/bugs/373533-1.xhtml

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

mercurial