Add a few reftests for native theme drawing.
authordbaron@dbaron.org
Fri, 25 May 2007 15:25:57 -0700
changeset 1874 66cfaa189b9b990aac5e8f72ddb97de4fc9bc778
parent 1873 6a410abefb6653efda63efa485a315e2e8e790b0
child 1875 5404ffee664a5e0b88762f7ce3fd424e9cbc7e73
push idunknown
push userunknown
push dateunknown
milestone1.9a5pre
Add a few reftests for native theme drawing.
layout/reftests/native-theme/button-html-not-blank.html
layout/reftests/native-theme/button-not-blank.html
layout/reftests/native-theme/checkbox-not-blank.html
layout/reftests/native-theme/combobox-not-blank.html
layout/reftests/native-theme/fieldset-not-blank.html
layout/reftests/native-theme/file-not-blank.html
layout/reftests/native-theme/listbox-not-blank.html
layout/reftests/native-theme/radio-not-blank.html
layout/reftests/native-theme/reftest.list
layout/reftests/native-theme/text-control-not-blank.html
layout/reftests/native-theme/textarea-not-blank.html
layout/reftests/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/native-theme/button-html-not-blank.html
@@ -0,0 +1,1 @@
+<button></button>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/native-theme/button-not-blank.html
@@ -0,0 +1,1 @@
+<input type="button">
new file mode 100644
--- /dev/null
+++ b/layout/reftests/native-theme/checkbox-not-blank.html
@@ -0,0 +1,1 @@
+<input type="checkbox">
new file mode 100644
--- /dev/null
+++ b/layout/reftests/native-theme/combobox-not-blank.html
@@ -0,0 +1,1 @@
+<select size="1"></select>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/native-theme/fieldset-not-blank.html
@@ -0,0 +1,1 @@
+<fieldset></fieldset>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/native-theme/file-not-blank.html
@@ -0,0 +1,1 @@
+<input type="file">
new file mode 100644
--- /dev/null
+++ b/layout/reftests/native-theme/listbox-not-blank.html
@@ -0,0 +1,1 @@
+<select size="3"></select>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/native-theme/radio-not-blank.html
@@ -0,0 +1,1 @@
+<input type="radio">
new file mode 100644
--- /dev/null
+++ b/layout/reftests/native-theme/reftest.list
@@ -0,0 +1,10 @@
+fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") != button-html-not-blank.html about:blank # bug 382048
+fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") != button-not-blank.html about:blank # bug 382048
+!= checkbox-not-blank.html about:blank
+!= combobox-not-blank.html about:blank
+!= fieldset-not-blank.html about:blank
+!= file-not-blank.html about:blank
+!= listbox-not-blank.html about:blank
+!= radio-not-blank.html about:blank
+!= text-control-not-blank.html about:blank
+!= textarea-not-blank.html about:blank
new file mode 100644
--- /dev/null
+++ b/layout/reftests/native-theme/text-control-not-blank.html
@@ -0,0 +1,1 @@
+<input type="text">
new file mode 100644
--- /dev/null
+++ b/layout/reftests/native-theme/textarea-not-blank.html
@@ -0,0 +1,1 @@
+<textarea rows="5" cols="40"></textarea>
--- a/layout/reftests/reftest.list
+++ b/layout/reftests/reftest.list
@@ -87,8 +87,11 @@ include first-letter/reftest.list
 # svg/
 include svg/reftest.list
 
 # text-indent/
 include text-indent/reftest.list
 
 # text-transform/
 include text-transform/reftest.list
+
+# native-theme/
+include native-theme/reftest.list