summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/474336-1.xul
blob: 958d6c49832d89ed7459e1a133fee6a163c592f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<window xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        class="reftest-wait">

<html:style>
    #prog {
        -moz-appearance: none;
        background-color: blue;
    }
    #prog .progress-bar {
        -moz-appearance: none;
        border-radius: 3px 3px;
        background-color: red;
    }
</html:style>

<progressmeter id="prog" value="50"/>

<script>
<![CDATA[

function load(event) {
  setTimeout(function() {
    document.getElementById("prog").max = 200;
    document.documentElement.removeAttribute("class");
  }, 0);
}
window.addEventListener("load", load, false);

]]>
</script>

</window>