layout/reftests/box-ordinal/dynamic-1-add-to-one-grouped.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/box-ordinal/dynamic-1-add-to-one-grouped.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<!DOCTYPE window>
     1.6 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="reftest-wait" onload="run()">
     1.7 +  <script type="application/javascript"><![CDATA[
     1.8 +
     1.9 +  function run() {
    1.10 +    var c = document.getElementById("C");
    1.11 +    getComputedStyle(c, "").width; // flush
    1.12 +    c.style.MozBoxOrdinalGroup = "2";
    1.13 +    document.documentElement.removeAttribute("class");
    1.14 +  }
    1.15 +
    1.16 +  ]]></script>
    1.17 +  <label id="A" value="A" />
    1.18 +  <label id="C" value="C" />
    1.19 +  <label id="B" value="B" />
    1.20 +</window>

mercurial