layout/generic/crashtests/334105-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/generic/crashtests/334105-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.5 +<head>
     1.6 +
     1.7 +<style>
     1.8 +html { width: 2em; border: 1px solid red; }
     1.9 +body { display: inline; }
    1.10 +.padded { padding: 1em; border: 1px solid black; }
    1.11 +#float1 { background: lightgreen; }                    /* float is added to this one dynamically */
    1.12 +#float2 { float: right; background: lightblue; }
    1.13 +</style>
    1.14 +
    1.15 +<script>
    1.16 +
    1.17 +function foo()
    1.18 +{
    1.19 +  document.getElementById("float1").style.cssFloat = "right";
    1.20 +  document.documentElement.removeAttribute("class");
    1.21 +}
    1.22 +
    1.23 +window.addEventListener("load", function() { setTimeout(foo, 30); }, false);
    1.24 +
    1.25 +</script>
    1.26 +
    1.27 +</head>
    1.28 +
    1.29 +<body>
    1.30 +
    1.31 +  X
    1.32 +  <span id="float1">FFFFFF</span>
    1.33 +  <span id="float2">GGGGGG</span>
    1.34 +  <span class="padded"/>
    1.35 +
    1.36 +
    1.37 +</body>
    1.38 +</html>

mercurial