From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../css-ui-invalid/button/button-button.html | 9 ++++++++ .../button/button-disabled-fieldset-1.html | 22 ++++++++++++++++++ .../button/button-disabled-fieldset-2.html | 25 ++++++++++++++++++++ .../css-ui-invalid/button/button-disabled-ref.html | 6 +++++ .../css-ui-invalid/button/button-disabled.html | 9 ++++++++ .../css-ui-invalid/button/button-dyn-disabled.html | 18 +++++++++++++++ .../button/button-dyn-not-disabled.html | 19 +++++++++++++++ .../button/button-fieldset-legend-ref.html | 10 ++++++++ .../button/button-fieldset-legend.html | 22 ++++++++++++++++++ .../css-ui-invalid/button/button-fieldset-ref.html | 10 ++++++++ .../css-ui-invalid/button/button-invalid.html | 9 ++++++++ .../reftests/css-ui-invalid/button/button-ref.html | 6 +++++ .../css-ui-invalid/button/button-reset.html | 9 ++++++++ .../css-ui-invalid/button/button-type-barred.html | 19 +++++++++++++++ .../css-ui-invalid/button/button-type-invalid.html | 19 +++++++++++++++ .../css-ui-invalid/button/button-valid.html | 9 ++++++++ layout/reftests/css-ui-invalid/button/reftest.list | 12 ++++++++++ layout/reftests/css-ui-invalid/button/style.css | 18 +++++++++++++++ .../default-style/button-focus-ref.html | 7 ++++++ .../css-ui-invalid/default-style/button-focus.html | 13 +++++++++++ .../css-ui-invalid/default-style/button-ref.html | 7 ++++++ .../css-ui-invalid/default-style/button.html | 13 +++++++++++ .../css-ui-invalid/default-style/fieldset-ref.html | 7 ++++++ .../css-ui-invalid/default-style/fieldset.html | 13 +++++++++++ .../default-style/input-focus-ref.html | 7 ++++++ .../css-ui-invalid/default-style/input-focus.html | 13 +++++++++++ .../css-ui-invalid/default-style/input-ref.html | 7 ++++++ .../css-ui-invalid/default-style/input.html | 13 +++++++++++ .../css-ui-invalid/default-style/output-ref.html | 7 ++++++ .../css-ui-invalid/default-style/output.html | 13 +++++++++++ .../css-ui-invalid/default-style/reftest.list | 10 ++++++++ .../default-style/select-focus-ref.html | 7 ++++++ .../css-ui-invalid/default-style/select-focus.html | 13 +++++++++++ .../css-ui-invalid/default-style/select-ref.html | 7 ++++++ .../css-ui-invalid/default-style/select.html | 13 +++++++++++ .../css-ui-invalid/default-style/style.css | 11 +++++++++ .../default-style/textarea-focus-ref.html | 7 ++++++ .../default-style/textarea-focus.html | 13 +++++++++++ .../css-ui-invalid/default-style/textarea-ref.html | 7 ++++++ .../css-ui-invalid/default-style/textarea.html | 13 +++++++++++ .../css-ui-invalid/input/input-button-ref.html | 6 +++++ .../css-ui-invalid/input/input-button.html | 9 ++++++++ .../input-checkbox-required-invalid-default.html | 15 ++++++++++++ .../input/input-disabled-fieldset-1.html | 14 +++++++++++ .../input/input-disabled-fieldset-2.html | 23 ++++++++++++++++++ .../css-ui-invalid/input/input-disabled.html | 9 ++++++++ .../css-ui-invalid/input/input-dyn-disabled.html | 18 +++++++++++++++ .../input/input-dyn-not-readonly-not-changed.html | 9 ++++++++ .../css-ui-invalid/input/input-dyn-readonly.html | 9 ++++++++ .../input/input-email-invalid-default.html | 10 ++++++++ .../css-ui-invalid/input/input-email-ref.html | 6 +++++ .../css-ui-invalid/input/input-email-valid.html | 10 ++++++++ .../input/input-fieldset-legend-ref.html | 10 ++++++++ .../input/input-fieldset-legend.html | 13 +++++++++++ .../css-ui-invalid/input/input-fieldset-ref.html | 10 ++++++++ .../css-ui-invalid/input/input-file-ref.html | 6 +++++ .../input/input-file-required-invalid-default.html | 10 ++++++++ .../input/input-pattern-invalid-default.html | 11 +++++++++ .../css-ui-invalid/input/input-pattern-valid.html | 10 ++++++++ .../input/input-radio-dyn-valid-1.html | 17 ++++++++++++++ .../input/input-radio-dyn-valid-2.html | 18 +++++++++++++++ .../input-radio-nogroup-required-invalid.html | 13 +++++++++++ .../input-radio-required-invalid-default.html | 15 ++++++++++++ .../css-ui-invalid/input/input-readonly.html | 9 ++++++++ .../reftests/css-ui-invalid/input/input-ref.html | 6 +++++ .../input/input-required-invalid-default.html | 11 +++++++++ .../css-ui-invalid/input/input-required-valid.html | 10 ++++++++ .../reftests/css-ui-invalid/input/input-reset.html | 10 ++++++++ .../css-ui-invalid/input/input-type-barred.html | 10 ++++++++ .../input/input-url-invalid-default.html | 11 +++++++++ .../css-ui-invalid/input/input-url-ref.html | 6 +++++ .../css-ui-invalid/input/input-url-valid.html | 10 ++++++++ .../reftests/css-ui-invalid/input/input-valid.html | 9 ++++++++ .../css-ui-invalid/input/input-withtext-ref.html | 6 +++++ layout/reftests/css-ui-invalid/input/reftest.list | 27 ++++++++++++++++++++++ layout/reftests/css-ui-invalid/input/style.css | 23 ++++++++++++++++++ .../reftests/css-ui-invalid/input/success-ref.html | 6 +++++ .../css-ui-invalid/output/output-invalid.html | 9 ++++++++ .../reftests/css-ui-invalid/output/output-ref.html | 7 ++++++ .../css-ui-invalid/output/output-valid.html | 9 ++++++++ layout/reftests/css-ui-invalid/output/reftest.list | 2 ++ layout/reftests/css-ui-invalid/output/style.css | 22 ++++++++++++++++++ layout/reftests/css-ui-invalid/reftest.list | 9 ++++++++ layout/reftests/css-ui-invalid/select/reftest.list | 12 ++++++++++ .../select/select-disabled-fieldset-1.html | 22 ++++++++++++++++++ .../select/select-disabled-fieldset-2.html | 25 ++++++++++++++++++++ .../css-ui-invalid/select/select-disabled-ref.html | 6 +++++ .../css-ui-invalid/select/select-disabled.html | 9 ++++++++ .../css-ui-invalid/select/select-dyn-disabled.html | 18 +++++++++++++++ .../css-ui-invalid/select/select-fieldset-ref.html | 10 ++++++++ .../select/select-invalid-reset.html | 15 ++++++++++++ .../reftests/css-ui-invalid/select/select-ref.html | 6 +++++ .../select/select-required-invalid-1.html | 12 ++++++++++ .../select/select-required-invalid-2.html | 12 ++++++++++ .../select-required-multiple-invalid-changed.html | 15 ++++++++++++ .../select/select-required-multiple-invalid.html | 13 +++++++++++ .../select/select-required-multiple-ref.html | 10 ++++++++ .../select/select-required-multiple-valid.html | 12 ++++++++++ .../css-ui-invalid/select/select-required-ref.html | 9 ++++++++ .../select/select-required-valid.html | 11 +++++++++ .../css-ui-invalid/select/select-valid.html | 9 ++++++++ layout/reftests/css-ui-invalid/select/style.css | 18 +++++++++++++++ .../reftests/css-ui-invalid/textarea/reftest.list | 10 ++++++++ layout/reftests/css-ui-invalid/textarea/style.css | 26 +++++++++++++++++++++ .../textarea/textarea-disabled-fieldset-1.html | 14 +++++++++++ .../textarea/textarea-disabled-fieldset-2.html | 23 ++++++++++++++++++ .../css-ui-invalid/textarea/textarea-disabled.html | 9 ++++++++ .../textarea/textarea-dyn-disabled.html | 19 +++++++++++++++ .../textarea-dyn-not-readonly-not-changed.html | 18 +++++++++++++++ .../textarea/textarea-dyn-readonly.html | 18 +++++++++++++++ .../textarea/textarea-fieldset-legend-ref.html | 11 +++++++++ .../textarea/textarea-fieldset-legend.html | 14 +++++++++++ .../textarea/textarea-fieldset-ref.html | 11 +++++++++ .../css-ui-invalid/textarea/textarea-readonly.html | 9 ++++++++ .../css-ui-invalid/textarea/textarea-ref.html | 7 ++++++ .../textarea/textarea-required-invalid.html | 10 ++++++++ .../textarea/textarea-required-valid.html | 10 ++++++++ .../css-ui-invalid/textarea/textarea-valid.html | 9 ++++++++ .../textarea/textarea-withtext-ref.html | 7 ++++++ 119 files changed, 1424 insertions(+) create mode 100644 layout/reftests/css-ui-invalid/button/button-button.html create mode 100644 layout/reftests/css-ui-invalid/button/button-disabled-fieldset-1.html create mode 100644 layout/reftests/css-ui-invalid/button/button-disabled-fieldset-2.html create mode 100644 layout/reftests/css-ui-invalid/button/button-disabled-ref.html create mode 100644 layout/reftests/css-ui-invalid/button/button-disabled.html create mode 100644 layout/reftests/css-ui-invalid/button/button-dyn-disabled.html create mode 100644 layout/reftests/css-ui-invalid/button/button-dyn-not-disabled.html create mode 100644 layout/reftests/css-ui-invalid/button/button-fieldset-legend-ref.html create mode 100644 layout/reftests/css-ui-invalid/button/button-fieldset-legend.html create mode 100644 layout/reftests/css-ui-invalid/button/button-fieldset-ref.html create mode 100644 layout/reftests/css-ui-invalid/button/button-invalid.html create mode 100644 layout/reftests/css-ui-invalid/button/button-ref.html create mode 100644 layout/reftests/css-ui-invalid/button/button-reset.html create mode 100644 layout/reftests/css-ui-invalid/button/button-type-barred.html create mode 100644 layout/reftests/css-ui-invalid/button/button-type-invalid.html create mode 100644 layout/reftests/css-ui-invalid/button/button-valid.html create mode 100644 layout/reftests/css-ui-invalid/button/reftest.list create mode 100644 layout/reftests/css-ui-invalid/button/style.css create mode 100644 layout/reftests/css-ui-invalid/default-style/button-focus-ref.html create mode 100644 layout/reftests/css-ui-invalid/default-style/button-focus.html create mode 100644 layout/reftests/css-ui-invalid/default-style/button-ref.html create mode 100644 layout/reftests/css-ui-invalid/default-style/button.html create mode 100644 layout/reftests/css-ui-invalid/default-style/fieldset-ref.html create mode 100644 layout/reftests/css-ui-invalid/default-style/fieldset.html create mode 100644 layout/reftests/css-ui-invalid/default-style/input-focus-ref.html create mode 100644 layout/reftests/css-ui-invalid/default-style/input-focus.html create mode 100644 layout/reftests/css-ui-invalid/default-style/input-ref.html create mode 100644 layout/reftests/css-ui-invalid/default-style/input.html create mode 100644 layout/reftests/css-ui-invalid/default-style/output-ref.html create mode 100644 layout/reftests/css-ui-invalid/default-style/output.html create mode 100644 layout/reftests/css-ui-invalid/default-style/reftest.list create mode 100644 layout/reftests/css-ui-invalid/default-style/select-focus-ref.html create mode 100644 layout/reftests/css-ui-invalid/default-style/select-focus.html create mode 100644 layout/reftests/css-ui-invalid/default-style/select-ref.html create mode 100644 layout/reftests/css-ui-invalid/default-style/select.html create mode 100644 layout/reftests/css-ui-invalid/default-style/style.css create mode 100644 layout/reftests/css-ui-invalid/default-style/textarea-focus-ref.html create mode 100644 layout/reftests/css-ui-invalid/default-style/textarea-focus.html create mode 100644 layout/reftests/css-ui-invalid/default-style/textarea-ref.html create mode 100644 layout/reftests/css-ui-invalid/default-style/textarea.html create mode 100644 layout/reftests/css-ui-invalid/input/input-button-ref.html create mode 100644 layout/reftests/css-ui-invalid/input/input-button.html create mode 100644 layout/reftests/css-ui-invalid/input/input-checkbox-required-invalid-default.html create mode 100644 layout/reftests/css-ui-invalid/input/input-disabled-fieldset-1.html create mode 100644 layout/reftests/css-ui-invalid/input/input-disabled-fieldset-2.html create mode 100644 layout/reftests/css-ui-invalid/input/input-disabled.html create mode 100644 layout/reftests/css-ui-invalid/input/input-dyn-disabled.html create mode 100644 layout/reftests/css-ui-invalid/input/input-dyn-not-readonly-not-changed.html create mode 100644 layout/reftests/css-ui-invalid/input/input-dyn-readonly.html create mode 100644 layout/reftests/css-ui-invalid/input/input-email-invalid-default.html create mode 100644 layout/reftests/css-ui-invalid/input/input-email-ref.html create mode 100644 layout/reftests/css-ui-invalid/input/input-email-valid.html create mode 100644 layout/reftests/css-ui-invalid/input/input-fieldset-legend-ref.html create mode 100644 layout/reftests/css-ui-invalid/input/input-fieldset-legend.html create mode 100644 layout/reftests/css-ui-invalid/input/input-fieldset-ref.html create mode 100644 layout/reftests/css-ui-invalid/input/input-file-ref.html create mode 100644 layout/reftests/css-ui-invalid/input/input-file-required-invalid-default.html create mode 100644 layout/reftests/css-ui-invalid/input/input-pattern-invalid-default.html create mode 100644 layout/reftests/css-ui-invalid/input/input-pattern-valid.html create mode 100644 layout/reftests/css-ui-invalid/input/input-radio-dyn-valid-1.html create mode 100644 layout/reftests/css-ui-invalid/input/input-radio-dyn-valid-2.html create mode 100644 layout/reftests/css-ui-invalid/input/input-radio-nogroup-required-invalid.html create mode 100644 layout/reftests/css-ui-invalid/input/input-radio-required-invalid-default.html create mode 100644 layout/reftests/css-ui-invalid/input/input-readonly.html create mode 100644 layout/reftests/css-ui-invalid/input/input-ref.html create mode 100644 layout/reftests/css-ui-invalid/input/input-required-invalid-default.html create mode 100644 layout/reftests/css-ui-invalid/input/input-required-valid.html create mode 100644 layout/reftests/css-ui-invalid/input/input-reset.html create mode 100644 layout/reftests/css-ui-invalid/input/input-type-barred.html create mode 100644 layout/reftests/css-ui-invalid/input/input-url-invalid-default.html create mode 100644 layout/reftests/css-ui-invalid/input/input-url-ref.html create mode 100644 layout/reftests/css-ui-invalid/input/input-url-valid.html create mode 100644 layout/reftests/css-ui-invalid/input/input-valid.html create mode 100644 layout/reftests/css-ui-invalid/input/input-withtext-ref.html create mode 100644 layout/reftests/css-ui-invalid/input/reftest.list create mode 100644 layout/reftests/css-ui-invalid/input/style.css create mode 100644 layout/reftests/css-ui-invalid/input/success-ref.html create mode 100644 layout/reftests/css-ui-invalid/output/output-invalid.html create mode 100644 layout/reftests/css-ui-invalid/output/output-ref.html create mode 100644 layout/reftests/css-ui-invalid/output/output-valid.html create mode 100644 layout/reftests/css-ui-invalid/output/reftest.list create mode 100644 layout/reftests/css-ui-invalid/output/style.css create mode 100644 layout/reftests/css-ui-invalid/reftest.list create mode 100644 layout/reftests/css-ui-invalid/select/reftest.list create mode 100644 layout/reftests/css-ui-invalid/select/select-disabled-fieldset-1.html create mode 100644 layout/reftests/css-ui-invalid/select/select-disabled-fieldset-2.html create mode 100644 layout/reftests/css-ui-invalid/select/select-disabled-ref.html create mode 100644 layout/reftests/css-ui-invalid/select/select-disabled.html create mode 100644 layout/reftests/css-ui-invalid/select/select-dyn-disabled.html create mode 100644 layout/reftests/css-ui-invalid/select/select-fieldset-ref.html create mode 100644 layout/reftests/css-ui-invalid/select/select-invalid-reset.html create mode 100644 layout/reftests/css-ui-invalid/select/select-ref.html create mode 100644 layout/reftests/css-ui-invalid/select/select-required-invalid-1.html create mode 100644 layout/reftests/css-ui-invalid/select/select-required-invalid-2.html create mode 100644 layout/reftests/css-ui-invalid/select/select-required-multiple-invalid-changed.html create mode 100644 layout/reftests/css-ui-invalid/select/select-required-multiple-invalid.html create mode 100644 layout/reftests/css-ui-invalid/select/select-required-multiple-ref.html create mode 100644 layout/reftests/css-ui-invalid/select/select-required-multiple-valid.html create mode 100644 layout/reftests/css-ui-invalid/select/select-required-ref.html create mode 100644 layout/reftests/css-ui-invalid/select/select-required-valid.html create mode 100644 layout/reftests/css-ui-invalid/select/select-valid.html create mode 100644 layout/reftests/css-ui-invalid/select/style.css create mode 100644 layout/reftests/css-ui-invalid/textarea/reftest.list create mode 100644 layout/reftests/css-ui-invalid/textarea/style.css create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-disabled-fieldset-1.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-disabled-fieldset-2.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-disabled.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-dyn-disabled.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-dyn-not-readonly-not-changed.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-dyn-readonly.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend-ref.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-fieldset-ref.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-readonly.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-ref.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-required-invalid.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-required-valid.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-valid.html create mode 100644 layout/reftests/css-ui-invalid/textarea/textarea-withtext-ref.html (limited to 'layout/reftests/css-ui-invalid') diff --git a/layout/reftests/css-ui-invalid/button/button-button.html b/layout/reftests/css-ui-invalid/button/button-button.html new file mode 100644 index 0000000000..b3a32a49b8 --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-button.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/button/button-disabled-fieldset-1.html b/layout/reftests/css-ui-invalid/button/button-disabled-fieldset-1.html new file mode 100644 index 0000000000..5cf40c93a9 --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-disabled-fieldset-1.html @@ -0,0 +1,22 @@ + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-invalid/button/button-disabled-fieldset-2.html b/layout/reftests/css-ui-invalid/button/button-disabled-fieldset-2.html new file mode 100644 index 0000000000..4ee147a707 --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-disabled-fieldset-2.html @@ -0,0 +1,25 @@ + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-invalid/button/button-disabled-ref.html b/layout/reftests/css-ui-invalid/button/button-disabled-ref.html new file mode 100644 index 0000000000..7de1ba7c5c --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-disabled-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-invalid/button/button-disabled.html b/layout/reftests/css-ui-invalid/button/button-disabled.html new file mode 100644 index 0000000000..1607c2b645 --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/button/button-dyn-disabled.html b/layout/reftests/css-ui-invalid/button/button-dyn-disabled.html new file mode 100644 index 0000000000..1c7350d722 --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-dyn-disabled.html @@ -0,0 +1,18 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/button/button-dyn-not-disabled.html b/layout/reftests/css-ui-invalid/button/button-dyn-not-disabled.html new file mode 100644 index 0000000000..7ae667b8ec --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-dyn-not-disabled.html @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/button/button-fieldset-legend-ref.html b/layout/reftests/css-ui-invalid/button/button-fieldset-legend-ref.html new file mode 100644 index 0000000000..22adc433cd --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-fieldset-legend-ref.html @@ -0,0 +1,10 @@ + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-invalid/button/button-fieldset-legend.html b/layout/reftests/css-ui-invalid/button/button-fieldset-legend.html new file mode 100644 index 0000000000..66b5ae585c --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-fieldset-legend.html @@ -0,0 +1,22 @@ + + + + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-invalid/button/button-fieldset-ref.html b/layout/reftests/css-ui-invalid/button/button-fieldset-ref.html new file mode 100644 index 0000000000..60ab1a3ef0 --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-fieldset-ref.html @@ -0,0 +1,10 @@ + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-invalid/button/button-invalid.html b/layout/reftests/css-ui-invalid/button/button-invalid.html new file mode 100644 index 0000000000..2aeaea4e1e --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-invalid.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/button/button-ref.html b/layout/reftests/css-ui-invalid/button/button-ref.html new file mode 100644 index 0000000000..422cc9315f --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-invalid/button/button-reset.html b/layout/reftests/css-ui-invalid/button/button-reset.html new file mode 100644 index 0000000000..6e64908be8 --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-reset.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/button/button-type-barred.html b/layout/reftests/css-ui-invalid/button/button-type-barred.html new file mode 100644 index 0000000000..3748615427 --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-type-barred.html @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/button/button-type-invalid.html b/layout/reftests/css-ui-invalid/button/button-type-invalid.html new file mode 100644 index 0000000000..a6e20d1a94 --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-type-invalid.html @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/button/button-valid.html b/layout/reftests/css-ui-invalid/button/button-valid.html new file mode 100644 index 0000000000..1f99c6331d --- /dev/null +++ b/layout/reftests/css-ui-invalid/button/button-valid.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/button-focus.html b/layout/reftests/css-ui-invalid/default-style/button-focus.html new file mode 100644 index 0000000000..e34dad8465 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/button-focus.html @@ -0,0 +1,13 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/button-ref.html b/layout/reftests/css-ui-invalid/default-style/button-ref.html new file mode 100644 index 0000000000..71dbb9cf80 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/button-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/button.html b/layout/reftests/css-ui-invalid/default-style/button.html new file mode 100644 index 0000000000..3b240b7e41 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/button.html @@ -0,0 +1,13 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/fieldset-ref.html b/layout/reftests/css-ui-invalid/default-style/fieldset-ref.html new file mode 100644 index 0000000000..0289183246 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/fieldset-ref.html @@ -0,0 +1,7 @@ + + + + +
+ + diff --git a/layout/reftests/css-ui-invalid/default-style/fieldset.html b/layout/reftests/css-ui-invalid/default-style/fieldset.html new file mode 100644 index 0000000000..e2b3b1ac19 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/fieldset.html @@ -0,0 +1,13 @@ + + + + +
+ + diff --git a/layout/reftests/css-ui-invalid/default-style/input-focus-ref.html b/layout/reftests/css-ui-invalid/default-style/input-focus-ref.html new file mode 100644 index 0000000000..1180844f60 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/input-focus-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/input-focus.html b/layout/reftests/css-ui-invalid/default-style/input-focus.html new file mode 100644 index 0000000000..ac9d554a42 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/input-focus.html @@ -0,0 +1,13 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/input-ref.html b/layout/reftests/css-ui-invalid/default-style/input-ref.html new file mode 100644 index 0000000000..31f6e35f2c --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/input-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/input.html b/layout/reftests/css-ui-invalid/default-style/input.html new file mode 100644 index 0000000000..e0d1bf6a3c --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/input.html @@ -0,0 +1,13 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/output-ref.html b/layout/reftests/css-ui-invalid/default-style/output-ref.html new file mode 100644 index 0000000000..f1ab90bc64 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/output-ref.html @@ -0,0 +1,7 @@ + + + + + foo + + diff --git a/layout/reftests/css-ui-invalid/default-style/output.html b/layout/reftests/css-ui-invalid/default-style/output.html new file mode 100644 index 0000000000..6da555bbf1 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/output.html @@ -0,0 +1,13 @@ + + + + + foo + + diff --git a/layout/reftests/css-ui-invalid/default-style/reftest.list b/layout/reftests/css-ui-invalid/default-style/reftest.list new file mode 100644 index 0000000000..62486537a5 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/reftest.list @@ -0,0 +1,10 @@ +== input.html input-ref.html +fuzzy-if(isDebugBuild&>kWidget,0-1,0-1) fuzzy-if(cocoaWidget,0-2,0-32) == button.html button-ref.html +== textarea.html textarea-ref.html +fuzzy(0-112,0-6) == select.html select-ref.html +== fieldset.html fieldset-ref.html +== output.html output-ref.html +random-if(winWidget) needs-focus == input-focus.html input-focus-ref.html # Intermittent failures, bug 660224 +needs-focus fuzzy-if(cocoaWidget,0-1,0-10) == button-focus.html button-focus-ref.html +needs-focus fuzzy(0-32,0-1) == textarea-focus.html textarea-focus-ref.html +random-if(winWidget) fuzzy(0-112,0-6) needs-focus == select-focus.html select-focus-ref.html # windows: Intermittent failures, bug 660224, non-native: shadow blur fuzziness diff --git a/layout/reftests/css-ui-invalid/default-style/select-focus-ref.html b/layout/reftests/css-ui-invalid/default-style/select-focus-ref.html new file mode 100644 index 0000000000..42b8da524a --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/select-focus-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/select-focus.html b/layout/reftests/css-ui-invalid/default-style/select-focus.html new file mode 100644 index 0000000000..946e078152 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/select-focus.html @@ -0,0 +1,13 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/select-ref.html b/layout/reftests/css-ui-invalid/default-style/select-ref.html new file mode 100644 index 0000000000..3eed47082f --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/select-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/select.html b/layout/reftests/css-ui-invalid/default-style/select.html new file mode 100644 index 0000000000..f05241f9e7 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/select.html @@ -0,0 +1,13 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/style.css b/layout/reftests/css-ui-invalid/default-style/style.css new file mode 100644 index 0000000000..3db7d3dd18 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/style.css @@ -0,0 +1,11 @@ +:not(output).invalid-ref { +} + +:not(output):-moz-focusring.invalid-ref { +} + +output.invalid-ref { +} + +.barred-ref { +} diff --git a/layout/reftests/css-ui-invalid/default-style/textarea-focus-ref.html b/layout/reftests/css-ui-invalid/default-style/textarea-focus-ref.html new file mode 100644 index 0000000000..942390f870 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/textarea-focus-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/textarea-focus.html b/layout/reftests/css-ui-invalid/default-style/textarea-focus.html new file mode 100644 index 0000000000..0f9d790263 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/textarea-focus.html @@ -0,0 +1,13 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/textarea-ref.html b/layout/reftests/css-ui-invalid/default-style/textarea-ref.html new file mode 100644 index 0000000000..c7037764f6 --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/textarea-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/default-style/textarea.html b/layout/reftests/css-ui-invalid/default-style/textarea.html new file mode 100644 index 0000000000..73ff14c2ae --- /dev/null +++ b/layout/reftests/css-ui-invalid/default-style/textarea.html @@ -0,0 +1,13 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-button-ref.html b/layout/reftests/css-ui-invalid/input/input-button-ref.html new file mode 100644 index 0000000000..3b828533e3 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-button-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-button.html b/layout/reftests/css-ui-invalid/input/input-button.html new file mode 100644 index 0000000000..1ec43cc1e7 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-button.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-checkbox-required-invalid-default.html b/layout/reftests/css-ui-invalid/input/input-checkbox-required-invalid-default.html new file mode 100644 index 0000000000..ee01e0d381 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-checkbox-required-invalid-default.html @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-disabled-fieldset-1.html b/layout/reftests/css-ui-invalid/input/input-disabled-fieldset-1.html new file mode 100644 index 0000000000..7fbc040c90 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-disabled-fieldset-1.html @@ -0,0 +1,14 @@ + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-invalid/input/input-disabled-fieldset-2.html b/layout/reftests/css-ui-invalid/input/input-disabled-fieldset-2.html new file mode 100644 index 0000000000..4cda694575 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-disabled-fieldset-2.html @@ -0,0 +1,23 @@ + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-invalid/input/input-disabled.html b/layout/reftests/css-ui-invalid/input/input-disabled.html new file mode 100644 index 0000000000..6757fb0963 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-dyn-disabled.html b/layout/reftests/css-ui-invalid/input/input-dyn-disabled.html new file mode 100644 index 0000000000..f2094b48bb --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-dyn-disabled.html @@ -0,0 +1,18 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-dyn-not-readonly-not-changed.html b/layout/reftests/css-ui-invalid/input/input-dyn-not-readonly-not-changed.html new file mode 100644 index 0000000000..b697b4200d --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-dyn-not-readonly-not-changed.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-dyn-readonly.html b/layout/reftests/css-ui-invalid/input/input-dyn-readonly.html new file mode 100644 index 0000000000..474e8ff4b8 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-dyn-readonly.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-email-invalid-default.html b/layout/reftests/css-ui-invalid/input/input-email-invalid-default.html new file mode 100644 index 0000000000..d4a1c99bb5 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-email-invalid-default.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-email-ref.html b/layout/reftests/css-ui-invalid/input/input-email-ref.html new file mode 100644 index 0000000000..ecec613c26 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-email-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-email-valid.html b/layout/reftests/css-ui-invalid/input/input-email-valid.html new file mode 100644 index 0000000000..8e3fbd349e --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-email-valid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-fieldset-legend-ref.html b/layout/reftests/css-ui-invalid/input/input-fieldset-legend-ref.html new file mode 100644 index 0000000000..763c383bda --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-fieldset-legend-ref.html @@ -0,0 +1,10 @@ + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-invalid/input/input-fieldset-legend.html b/layout/reftests/css-ui-invalid/input/input-fieldset-legend.html new file mode 100644 index 0000000000..6f85637b4a --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-fieldset-legend.html @@ -0,0 +1,13 @@ + + + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-invalid/input/input-fieldset-ref.html b/layout/reftests/css-ui-invalid/input/input-fieldset-ref.html new file mode 100644 index 0000000000..a9e1239125 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-fieldset-ref.html @@ -0,0 +1,10 @@ + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-invalid/input/input-file-ref.html b/layout/reftests/css-ui-invalid/input/input-file-ref.html new file mode 100644 index 0000000000..73a4fc64cc --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-file-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-file-required-invalid-default.html b/layout/reftests/css-ui-invalid/input/input-file-required-invalid-default.html new file mode 100644 index 0000000000..aa1d862d40 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-file-required-invalid-default.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-pattern-invalid-default.html b/layout/reftests/css-ui-invalid/input/input-pattern-invalid-default.html new file mode 100644 index 0000000000..0a1a676a8c --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-pattern-invalid-default.html @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-pattern-valid.html b/layout/reftests/css-ui-invalid/input/input-pattern-valid.html new file mode 100644 index 0000000000..7def28f819 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-pattern-valid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-radio-dyn-valid-1.html b/layout/reftests/css-ui-invalid/input/input-radio-dyn-valid-1.html new file mode 100644 index 0000000000..d2fd008e15 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-radio-dyn-valid-1.html @@ -0,0 +1,17 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-radio-dyn-valid-2.html b/layout/reftests/css-ui-invalid/input/input-radio-dyn-valid-2.html new file mode 100644 index 0000000000..f4ee5d171c --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-radio-dyn-valid-2.html @@ -0,0 +1,18 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-radio-nogroup-required-invalid.html b/layout/reftests/css-ui-invalid/input/input-radio-nogroup-required-invalid.html new file mode 100644 index 0000000000..e17e92a958 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-radio-nogroup-required-invalid.html @@ -0,0 +1,13 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-radio-required-invalid-default.html b/layout/reftests/css-ui-invalid/input/input-radio-required-invalid-default.html new file mode 100644 index 0000000000..cb2456533f --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-radio-required-invalid-default.html @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-readonly.html b/layout/reftests/css-ui-invalid/input/input-readonly.html new file mode 100644 index 0000000000..8f5ab0c3c9 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-readonly.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-ref.html b/layout/reftests/css-ui-invalid/input/input-ref.html new file mode 100644 index 0000000000..65b4b97078 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-required-invalid-default.html b/layout/reftests/css-ui-invalid/input/input-required-invalid-default.html new file mode 100644 index 0000000000..3d4e17aea9 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-required-invalid-default.html @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-required-valid.html b/layout/reftests/css-ui-invalid/input/input-required-valid.html new file mode 100644 index 0000000000..34dca4585b --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-required-valid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-reset.html b/layout/reftests/css-ui-invalid/input/input-reset.html new file mode 100644 index 0000000000..06092d45cf --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-reset.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-type-barred.html b/layout/reftests/css-ui-invalid/input/input-type-barred.html new file mode 100644 index 0000000000..145b114d6f --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-type-barred.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-url-invalid-default.html b/layout/reftests/css-ui-invalid/input/input-url-invalid-default.html new file mode 100644 index 0000000000..2ce04568a1 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-url-invalid-default.html @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-url-ref.html b/layout/reftests/css-ui-invalid/input/input-url-ref.html new file mode 100644 index 0000000000..e95cdbca2e --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-url-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-url-valid.html b/layout/reftests/css-ui-invalid/input/input-url-valid.html new file mode 100644 index 0000000000..8b615a7709 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-url-valid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-valid.html b/layout/reftests/css-ui-invalid/input/input-valid.html new file mode 100644 index 0000000000..a8b4157a80 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-valid.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/input-withtext-ref.html b/layout/reftests/css-ui-invalid/input/input-withtext-ref.html new file mode 100644 index 0000000000..d54d052157 --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/input-withtext-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-invalid/input/reftest.list b/layout/reftests/css-ui-invalid/input/reftest.list new file mode 100644 index 0000000000..084136d88a --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/reftest.list @@ -0,0 +1,27 @@ +== input-valid.html input-ref.html +fuzzy(0-1,0-3) == input-disabled.html input-ref.html +fuzzy(0-1,0-3) == input-dyn-disabled.html input-ref.html +fuzzy(0-1,0-3) == input-readonly.html input-ref.html +fuzzy(0-1,0-3) == input-dyn-readonly.html input-ref.html +fuzzy(0-1,0-3) == input-dyn-not-readonly-not-changed.html input-ref.html +== input-required-valid.html input-withtext-ref.html +fuzzy(0-1,0-3) == input-required-invalid-default.html input-ref.html +fuzzy(0-2,0-5) == input-button.html input-button-ref.html +fuzzy(0-2,0-5) == input-reset.html input-button-ref.html +== input-email-invalid-default.html input-withtext-ref.html +fuzzy(0-2,0-5) == input-email-valid.html input-email-ref.html +== input-url-invalid-default.html input-withtext-ref.html +== input-url-valid.html input-url-ref.html +== input-pattern-valid.html input-withtext-ref.html +== input-pattern-invalid-default.html input-withtext-ref.html +fuzzy(0-2,0-5) == input-type-barred.html input-button-ref.html +== input-disabled-fieldset-1.html input-fieldset-ref.html +fuzzy(0-1,0-3) == input-disabled-fieldset-2.html input-fieldset-ref.html +fuzzy(0-1,0-3) == input-fieldset-legend.html input-fieldset-legend-ref.html +== input-checkbox-required-invalid-default.html success-ref.html +== input-radio-required-invalid-default.html success-ref.html +== input-file-required-invalid-default.html input-file-ref.html +== input-radio-dyn-valid-1.html success-ref.html +== input-radio-dyn-valid-2.html success-ref.html +== input-radio-nogroup-required-invalid.html success-ref.html +# input type='hidden' shouldn't show diff --git a/layout/reftests/css-ui-invalid/input/style.css b/layout/reftests/css-ui-invalid/input/style.css new file mode 100644 index 0000000000..93a61a020d --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/style.css @@ -0,0 +1,23 @@ +/* Override default style */ +input:-moz-ui-invalid { + box-shadow: none; +} + +input.notinvalid { + background-color: green; +} +input.notinvalid:-moz-ui-invalid { + background-color: red; +} + +input.invalid { + background-color: red; +} +input.invalid:-moz-ui-invalid { + background-color: green; +} + +input[type=checkbox], +input[type=radio] { + display: none; +} diff --git a/layout/reftests/css-ui-invalid/input/success-ref.html b/layout/reftests/css-ui-invalid/input/success-ref.html new file mode 100644 index 0000000000..bfa8e0a12c --- /dev/null +++ b/layout/reftests/css-ui-invalid/input/success-ref.html @@ -0,0 +1,6 @@ + + + + SUCCESS + + diff --git a/layout/reftests/css-ui-invalid/output/output-invalid.html b/layout/reftests/css-ui-invalid/output/output-invalid.html new file mode 100644 index 0000000000..aa6830c753 --- /dev/null +++ b/layout/reftests/css-ui-invalid/output/output-invalid.html @@ -0,0 +1,9 @@ + + + + + + foo + + diff --git a/layout/reftests/css-ui-invalid/output/output-ref.html b/layout/reftests/css-ui-invalid/output/output-ref.html new file mode 100644 index 0000000000..0db2c440c7 --- /dev/null +++ b/layout/reftests/css-ui-invalid/output/output-ref.html @@ -0,0 +1,7 @@ + + + + + foo + + diff --git a/layout/reftests/css-ui-invalid/output/output-valid.html b/layout/reftests/css-ui-invalid/output/output-valid.html new file mode 100644 index 0000000000..984eea20ae --- /dev/null +++ b/layout/reftests/css-ui-invalid/output/output-valid.html @@ -0,0 +1,9 @@ + + + + + + foo + + diff --git a/layout/reftests/css-ui-invalid/output/reftest.list b/layout/reftests/css-ui-invalid/output/reftest.list new file mode 100644 index 0000000000..74468e394a --- /dev/null +++ b/layout/reftests/css-ui-invalid/output/reftest.list @@ -0,0 +1,2 @@ +== output-valid.html output-ref.html +== output-invalid.html output-ref.html diff --git a/layout/reftests/css-ui-invalid/output/style.css b/layout/reftests/css-ui-invalid/output/style.css new file mode 100644 index 0000000000..99d5be9107 --- /dev/null +++ b/layout/reftests/css-ui-invalid/output/style.css @@ -0,0 +1,22 @@ +/* Override default style */ +output { + color: black; +} + +output.notinvalid { + color: green; +} +output.notinvalid:-moz-ui-invalid { + color: red; +} + +output.invalid { + color: green; +} +output.invalid:-moz-ui-invalid { + color: red; +} + +output.ref { + color: green; +} diff --git a/layout/reftests/css-ui-invalid/reftest.list b/layout/reftests/css-ui-invalid/reftest.list new file mode 100644 index 0000000000..4563deee70 --- /dev/null +++ b/layout/reftests/css-ui-invalid/reftest.list @@ -0,0 +1,9 @@ +# :-moz-ui-invalid should apply on the following elements +include button/reftest.list +include input/reftest.list +include select/reftest.list +include textarea/reftest.list +include output/reftest.list + +# default :-moz-ui-invalid style +include default-style/reftest.list diff --git a/layout/reftests/css-ui-invalid/select/reftest.list b/layout/reftests/css-ui-invalid/select/reftest.list new file mode 100644 index 0000000000..1649755919 --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/reftest.list @@ -0,0 +1,12 @@ +needs-focus fuzzy-if(geckoview,0-8,0-1) == select-valid.html select-ref.html +fuzzy(0-2,0-5) needs-focus == select-invalid-reset.html select-required-ref.html +needs-focus == select-disabled.html select-disabled-ref.html +needs-focus == select-dyn-disabled.html select-disabled-ref.html +fuzzy(0-2,0-5) needs-focus == select-required-invalid-1.html select-required-ref.html +fuzzy(0-2,0-5) needs-focus == select-required-invalid-2.html select-required-ref.html +fuzzy(0-2,0-5) needs-focus == select-required-valid.html select-required-ref.html +needs-focus == select-required-multiple-invalid.html select-required-multiple-ref.html +fuzzy(0-1,0-1000) needs-focus == select-required-multiple-invalid-changed.html select-required-multiple-ref.html +needs-focus == select-required-multiple-valid.html select-required-multiple-ref.html +fuzzy-if(!Android,0-2,0-10) fuzzy-if(Android,0-9,0-1) needs-focus == select-disabled-fieldset-1.html select-fieldset-ref.html +fuzzy-if(!Android,0-2,0-10) fuzzy-if(Android,0-9,0-1) needs-focus == select-disabled-fieldset-2.html select-fieldset-ref.html diff --git a/layout/reftests/css-ui-invalid/select/select-disabled-fieldset-1.html b/layout/reftests/css-ui-invalid/select/select-disabled-fieldset-1.html new file mode 100644 index 0000000000..a1c8303716 --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-disabled-fieldset-1.html @@ -0,0 +1,22 @@ + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-invalid/select/select-disabled-fieldset-2.html b/layout/reftests/css-ui-invalid/select/select-disabled-fieldset-2.html new file mode 100644 index 0000000000..e466e03050 --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-disabled-fieldset-2.html @@ -0,0 +1,25 @@ + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-invalid/select/select-disabled-ref.html b/layout/reftests/css-ui-invalid/select/select-disabled-ref.html new file mode 100644 index 0000000000..e3a228a897 --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-disabled-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/select-disabled.html b/layout/reftests/css-ui-invalid/select/select-disabled.html new file mode 100644 index 0000000000..a38d8bca3c --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/select-dyn-disabled.html b/layout/reftests/css-ui-invalid/select/select-dyn-disabled.html new file mode 100644 index 0000000000..5fed3005d8 --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-dyn-disabled.html @@ -0,0 +1,18 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/select-fieldset-ref.html b/layout/reftests/css-ui-invalid/select/select-fieldset-ref.html new file mode 100644 index 0000000000..ca82a8022d --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-fieldset-ref.html @@ -0,0 +1,10 @@ + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-invalid/select/select-invalid-reset.html b/layout/reftests/css-ui-invalid/select/select-invalid-reset.html new file mode 100644 index 0000000000..8b8e7c6fda --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-invalid-reset.html @@ -0,0 +1,15 @@ + + + + + +
+ +
+ + diff --git a/layout/reftests/css-ui-invalid/select/select-ref.html b/layout/reftests/css-ui-invalid/select/select-ref.html new file mode 100644 index 0000000000..a28668557f --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/select-required-invalid-1.html b/layout/reftests/css-ui-invalid/select/select-required-invalid-1.html new file mode 100644 index 0000000000..064695c52f --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-required-invalid-1.html @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/select-required-invalid-2.html b/layout/reftests/css-ui-invalid/select/select-required-invalid-2.html new file mode 100644 index 0000000000..7a32805c95 --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-required-invalid-2.html @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/select-required-multiple-invalid-changed.html b/layout/reftests/css-ui-invalid/select/select-required-multiple-invalid-changed.html new file mode 100644 index 0000000000..547acaea6a --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-required-multiple-invalid-changed.html @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/select-required-multiple-invalid.html b/layout/reftests/css-ui-invalid/select/select-required-multiple-invalid.html new file mode 100644 index 0000000000..d59ee7ee62 --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-required-multiple-invalid.html @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/select-required-multiple-ref.html b/layout/reftests/css-ui-invalid/select/select-required-multiple-ref.html new file mode 100644 index 0000000000..a9477333f8 --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-required-multiple-ref.html @@ -0,0 +1,10 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/select-required-multiple-valid.html b/layout/reftests/css-ui-invalid/select/select-required-multiple-valid.html new file mode 100644 index 0000000000..8ae8b89b07 --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-required-multiple-valid.html @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/select-required-ref.html b/layout/reftests/css-ui-invalid/select/select-required-ref.html new file mode 100644 index 0000000000..3c2bde80a0 --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-required-ref.html @@ -0,0 +1,9 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/select-required-valid.html b/layout/reftests/css-ui-invalid/select/select-required-valid.html new file mode 100644 index 0000000000..9fb309b19f --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-required-valid.html @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/select-valid.html b/layout/reftests/css-ui-invalid/select/select-valid.html new file mode 100644 index 0000000000..268157b6eb --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/select-valid.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/select/style.css b/layout/reftests/css-ui-invalid/select/style.css new file mode 100644 index 0000000000..e8561a2bd3 --- /dev/null +++ b/layout/reftests/css-ui-invalid/select/style.css @@ -0,0 +1,18 @@ +/* Override default style */ +select:-moz-ui-invalid { + box-shadow: none; +} + +select.notinvalid { + background-color: green; +} +select.notinvalid:-moz-ui-invalid { + background-color: red; +} + +select.invalid { + background-color: red; +} +select.invalid:-moz-ui-invalid { + background-color: green; +} diff --git a/layout/reftests/css-ui-invalid/textarea/reftest.list b/layout/reftests/css-ui-invalid/textarea/reftest.list new file mode 100644 index 0000000000..525af159ee --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/reftest.list @@ -0,0 +1,10 @@ +== textarea-valid.html textarea-ref.html +== textarea-disabled.html textarea-ref.html +== textarea-dyn-disabled.html textarea-ref.html +== textarea-readonly.html textarea-ref.html +== textarea-dyn-readonly.html textarea-ref.html +== textarea-dyn-not-readonly-not-changed.html textarea-ref.html +== textarea-required-valid.html textarea-withtext-ref.html +== textarea-required-invalid.html textarea-ref.html +== textarea-disabled-fieldset-1.html textarea-fieldset-ref.html +== textarea-disabled-fieldset-2.html textarea-fieldset-ref.html diff --git a/layout/reftests/css-ui-invalid/textarea/style.css b/layout/reftests/css-ui-invalid/textarea/style.css new file mode 100644 index 0000000000..5d78b21de6 --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/style.css @@ -0,0 +1,26 @@ +/* Override default style */ +textarea { + border: 0px; +} + +textarea.ref { + background-color: green; +} + +textarea:-moz-ui-invalid { + box-shadow: none; +} + +textarea.notinvalid { + background-color: green; +} +textarea.notinvalid:-moz-ui-invalid { + background-color: red; +} + +textarea.invalid { + background-color: red; +} +textarea.invalid:-moz-ui-invalid { + background-color: green; +} diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-disabled-fieldset-1.html b/layout/reftests/css-ui-invalid/textarea/textarea-disabled-fieldset-1.html new file mode 100644 index 0000000000..7745264a37 --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-disabled-fieldset-1.html @@ -0,0 +1,14 @@ + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-disabled-fieldset-2.html b/layout/reftests/css-ui-invalid/textarea/textarea-disabled-fieldset-2.html new file mode 100644 index 0000000000..9835295ba1 --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-disabled-fieldset-2.html @@ -0,0 +1,23 @@ + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-disabled.html b/layout/reftests/css-ui-invalid/textarea/textarea-disabled.html new file mode 100644 index 0000000000..702c97132d --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-dyn-disabled.html b/layout/reftests/css-ui-invalid/textarea/textarea-dyn-disabled.html new file mode 100644 index 0000000000..87a8c38d1e --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-dyn-disabled.html @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-dyn-not-readonly-not-changed.html b/layout/reftests/css-ui-invalid/textarea/textarea-dyn-not-readonly-not-changed.html new file mode 100644 index 0000000000..92544d9cbd --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-dyn-not-readonly-not-changed.html @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-dyn-readonly.html b/layout/reftests/css-ui-invalid/textarea/textarea-dyn-readonly.html new file mode 100644 index 0000000000..2b2d930ba1 --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-dyn-readonly.html @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend-ref.html b/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend-ref.html new file mode 100644 index 0000000000..8e81d23f1f --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend-ref.html @@ -0,0 +1,11 @@ + + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend.html b/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend.html new file mode 100644 index 0000000000..8e734af290 --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend.html @@ -0,0 +1,14 @@ + + + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-ref.html b/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-ref.html new file mode 100644 index 0000000000..1d01eb0438 --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-fieldset-ref.html @@ -0,0 +1,11 @@ + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-readonly.html b/layout/reftests/css-ui-invalid/textarea/textarea-readonly.html new file mode 100644 index 0000000000..0921c62fbf --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-readonly.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-ref.html b/layout/reftests/css-ui-invalid/textarea/textarea-ref.html new file mode 100644 index 0000000000..b370a02a0f --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-required-invalid.html b/layout/reftests/css-ui-invalid/textarea/textarea-required-invalid.html new file mode 100644 index 0000000000..26144cecf9 --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-required-invalid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-required-valid.html b/layout/reftests/css-ui-invalid/textarea/textarea-required-valid.html new file mode 100644 index 0000000000..be0e95e4c6 --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-required-valid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-valid.html b/layout/reftests/css-ui-invalid/textarea/textarea-valid.html new file mode 100644 index 0000000000..58fe81dce9 --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-valid.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-invalid/textarea/textarea-withtext-ref.html b/layout/reftests/css-ui-invalid/textarea/textarea-withtext-ref.html new file mode 100644 index 0000000000..a6a2b79cfa --- /dev/null +++ b/layout/reftests/css-ui-invalid/textarea/textarea-withtext-ref.html @@ -0,0 +1,7 @@ + + + + + + + -- cgit v1.2.3