summaryrefslogtreecommitdiffstats
path: root/toolkit/content/tests/reftests
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/content/tests/reftests')
-rw-r--r--toolkit/content/tests/reftests/bug-442419-progressmeter-max-ref.xul7
-rw-r--r--toolkit/content/tests/reftests/bug-442419-progressmeter-max.xul7
-rw-r--r--toolkit/content/tests/reftests/reftest-stylo.list6
-rw-r--r--toolkit/content/tests/reftests/reftest.list2
-rw-r--r--toolkit/content/tests/reftests/textbox-multiline-default-value.xul5
-rw-r--r--toolkit/content/tests/reftests/textbox-multiline-empty.xul5
6 files changed, 32 insertions, 0 deletions
diff --git a/toolkit/content/tests/reftests/bug-442419-progressmeter-max-ref.xul b/toolkit/content/tests/reftests/bug-442419-progressmeter-max-ref.xul
new file mode 100644
index 000000000..a034b6e67
--- /dev/null
+++ b/toolkit/content/tests/reftests/bug-442419-progressmeter-max-ref.xul
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
+
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <progressmeter value="50"/> <!-- default is max = 100 -->
+</window>
+
diff --git a/toolkit/content/tests/reftests/bug-442419-progressmeter-max.xul b/toolkit/content/tests/reftests/bug-442419-progressmeter-max.xul
new file mode 100644
index 000000000..622596406
--- /dev/null
+++ b/toolkit/content/tests/reftests/bug-442419-progressmeter-max.xul
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
+
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <progressmeter max="198" value="99"/> <!-- 50% -->
+</window>
+
diff --git a/toolkit/content/tests/reftests/reftest-stylo.list b/toolkit/content/tests/reftests/reftest-stylo.list
new file mode 100644
index 000000000..77caaabfc
--- /dev/null
+++ b/toolkit/content/tests/reftests/reftest-stylo.list
@@ -0,0 +1,6 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+skip-if(B2G&&browserIsRemote) random-if(cocoaWidget) == bug-442419-progressmeter-max.xul bug-442419-progressmeter-max.xul
+# fails most of the time on Mac because progress meter animates
+# Bug 974780
+skip-if(B2G&&browserIsRemote) == textbox-multiline-default-value.xul textbox-multiline-default-value.xul
+# Bug 974780
diff --git a/toolkit/content/tests/reftests/reftest.list b/toolkit/content/tests/reftests/reftest.list
new file mode 100644
index 000000000..a37a9722a
--- /dev/null
+++ b/toolkit/content/tests/reftests/reftest.list
@@ -0,0 +1,2 @@
+random-if(cocoaWidget) == bug-442419-progressmeter-max.xul bug-442419-progressmeter-max-ref.xul # fails most of the time on Mac because progress meter animates
+!= textbox-multiline-default-value.xul textbox-multiline-empty.xul
diff --git a/toolkit/content/tests/reftests/textbox-multiline-default-value.xul b/toolkit/content/tests/reftests/textbox-multiline-default-value.xul
new file mode 100644
index 000000000..31a5bc556
--- /dev/null
+++ b/toolkit/content/tests/reftests/textbox-multiline-default-value.xul
@@ -0,0 +1,5 @@
+<?xml version='1.0'?>
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ title="test textbox multiline">
+ <textbox multiline='true' value='foobar'></textbox>
+</window>
diff --git a/toolkit/content/tests/reftests/textbox-multiline-empty.xul b/toolkit/content/tests/reftests/textbox-multiline-empty.xul
new file mode 100644
index 000000000..c48f2c988
--- /dev/null
+++ b/toolkit/content/tests/reftests/textbox-multiline-empty.xul
@@ -0,0 +1,5 @@
+<?xml version='1.0'?>
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ title="test textbox multiline">
+ <textbox multiline='true'></textbox>
+</window>