summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/474336-1.xul
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/474336-1.xul')
-rw-r--r--layout/reftests/bugs/474336-1.xul35
1 files changed, 35 insertions, 0 deletions
diff --git a/layout/reftests/bugs/474336-1.xul b/layout/reftests/bugs/474336-1.xul
new file mode 100644
index 000000000..958d6c498
--- /dev/null
+++ b/layout/reftests/bugs/474336-1.xul
@@ -0,0 +1,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>