From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../css-ui-valid/button/button-button.html | 9 +++++ .../button/button-disabled-fieldset-1.html | 15 ++++++++ .../button/button-disabled-fieldset-2.html | 23 +++++++++++++ .../css-ui-valid/button/button-disabled-ref.html | 6 ++++ .../css-ui-valid/button/button-disabled.html | 9 +++++ .../css-ui-valid/button/button-dyn-disabled.html | 9 +++++ .../button/button-dyn-not-disabled.html | 9 +++++ .../button/button-fieldset-legend-ref.html | 10 ++++++ .../button/button-fieldset-legend.html | 14 ++++++++ .../css-ui-valid/button/button-fieldset-ref.html | 10 ++++++ .../css-ui-valid/button/button-invalid.html | 8 +++++ .../reftests/css-ui-valid/button/button-ref.html | 6 ++++ .../reftests/css-ui-valid/button/button-reset.html | 9 +++++ .../css-ui-valid/button/button-type-barred.html | 10 ++++++ .../css-ui-valid/button/button-type-invalid.html | 19 ++++++++++ .../reftests/css-ui-valid/button/button-valid.html | 9 +++++ layout/reftests/css-ui-valid/button/reftest.list | 12 +++++++ layout/reftests/css-ui-valid/button/style.css | 18 ++++++++++ .../css-ui-valid/input/input-button-ref.html | 6 ++++ .../reftests/css-ui-valid/input/input-button.html | 9 +++++ .../input/input-checkbox-valid-changed.html | 15 ++++++++ .../input/input-checkbox-valid-default.html | 14 ++++++++ .../css-ui-valid/input/input-customerror.html | 18 ++++++++++ .../input/input-disabled-fieldset-1.html | 14 ++++++++ .../input/input-disabled-fieldset-2.html | 23 +++++++++++++ .../css-ui-valid/input/input-disabled.html | 9 +++++ .../css-ui-valid/input/input-dyn-disabled.html | 9 +++++ .../input/input-dyn-not-disabled-changed.html | 11 ++++++ .../css-ui-valid/input/input-dyn-not-disabled.html | 10 ++++++ .../input/input-dyn-not-readonly-changed.html | 11 ++++++ .../css-ui-valid/input/input-dyn-not-readonly.html | 10 ++++++ .../css-ui-valid/input/input-dyn-readonly.html | 9 +++++ .../css-ui-valid/input/input-email-invalid.html | 10 ++++++ .../css-ui-valid/input/input-email-ref.html | 6 ++++ .../input/input-email-valid-changed.html | 11 ++++++ .../css-ui-valid/input/input-email-valid.html | 10 ++++++ .../input/input-fieldset-legend-ref.html | 10 ++++++ .../css-ui-valid/input/input-fieldset-legend.html | 14 ++++++++ .../css-ui-valid/input/input-fieldset-ref.html | 10 ++++++ .../css-ui-valid/input/input-file-ref.html | 6 ++++ .../input/input-file-valid-changed.html | 10 ++++++ .../input/input-file-valid-default.html | 9 +++++ .../css-ui-valid/input/input-pattern-invalid.html | 10 ++++++ .../input/input-pattern-valid-changed.html | 11 ++++++ .../css-ui-valid/input/input-pattern-valid.html | 10 ++++++ .../input/input-radio-customerror.html | 16 +++++++++ .../input/input-radio-dyn-valid-1.html | 15 ++++++++ .../input/input-radio-dyn-valid-2.html | 16 +++++++++ .../input-radio-nogroup-required-invalid.html | 13 +++++++ .../input/input-radio-nogroup-required-valid.html | 13 +++++++ .../css-ui-valid/input/input-radio-required.html | 15 ++++++++ .../input/input-radio-valid-changed.html | 15 ++++++++ .../input/input-radio-valid-default.html | 14 ++++++++ .../css-ui-valid/input/input-readonly.html | 9 +++++ layout/reftests/css-ui-valid/input/input-ref.html | 6 ++++ .../css-ui-valid/input/input-required-invalid.html | 10 ++++++ .../input/input-required-valid-changed.html | 11 ++++++ .../css-ui-valid/input/input-required-valid.html | 10 ++++++ .../reftests/css-ui-valid/input/input-reset.html | 10 ++++++ .../css-ui-valid/input/input-type-barred.html | 10 ++++++ .../css-ui-valid/input/input-type-invalid.html | 20 +++++++++++ .../css-ui-valid/input/input-url-invalid.html | 10 ++++++ .../reftests/css-ui-valid/input/input-url-ref.html | 6 ++++ .../input/input-url-valid-changed.html | 11 ++++++ .../css-ui-valid/input/input-url-valid.html | 10 ++++++ .../reftests/css-ui-valid/input/input-valid.html | 9 +++++ .../css-ui-valid/input/input-withtext-ref.html | 6 ++++ layout/reftests/css-ui-valid/input/reftest.list | 40 ++++++++++++++++++++++ layout/reftests/css-ui-valid/input/style.css | 18 ++++++++++ .../reftests/css-ui-valid/input/success-ref.html | 6 ++++ .../css-ui-valid/output/output-invalid.html | 9 +++++ .../reftests/css-ui-valid/output/output-ref.html | 7 ++++ .../reftests/css-ui-valid/output/output-valid.html | 9 +++++ layout/reftests/css-ui-valid/output/reftest.list | 2 ++ layout/reftests/css-ui-valid/output/style.css | 22 ++++++++++++ layout/reftests/css-ui-valid/reftest.list | 6 ++++ layout/reftests/css-ui-valid/select/reftest.list | 17 +++++++++ .../select/select-disabled-fieldset-1.html | 14 ++++++++ .../select/select-disabled-fieldset-2.html | 23 +++++++++++++ .../css-ui-valid/select/select-disabled-ref.html | 6 ++++ .../css-ui-valid/select/select-disabled.html | 9 +++++ .../css-ui-valid/select/select-dyn-disabled.html | 9 +++++ .../select/select-dyn-not-disabled.html | 10 ++++++ .../select/select-fieldset-legend-ref.html | 10 ++++++ .../select/select-fieldset-legend.html | 14 ++++++++ .../css-ui-valid/select/select-fieldset-ref.html | 10 ++++++ .../css-ui-valid/select/select-invalid.html | 9 +++++ .../reftests/css-ui-valid/select/select-ref.html | 6 ++++ .../select/select-required-invalid.html | 11 ++++++ .../select/select-required-multiple-invalid.html | 12 +++++++ .../select/select-required-multiple-ref.html | 10 ++++++ .../select-required-multiple-valid-changed.html | 24 +++++++++++++ .../select/select-required-multiple-valid.html | 12 +++++++ .../css-ui-valid/select/select-required-ref.html | 9 +++++ .../select/select-required-valid-1.html | 11 ++++++ .../select/select-required-valid-2.html | 11 ++++++ .../select/select-required-valid-changed-1.html | 12 +++++++ .../select/select-required-valid-changed-2.html | 12 +++++++ .../css-ui-valid/select/select-valid-reset.html | 15 ++++++++ .../reftests/css-ui-valid/select/select-valid.html | 9 +++++ layout/reftests/css-ui-valid/select/style.css | 18 ++++++++++ layout/reftests/css-ui-valid/textarea/reftest.list | 16 +++++++++ layout/reftests/css-ui-valid/textarea/style.css | 26 ++++++++++++++ .../textarea/textarea-customerror.html | 18 ++++++++++ .../textarea/textarea-disabled-fieldset-1.html | 14 ++++++++ .../textarea/textarea-disabled-fieldset-2.html | 23 +++++++++++++ .../css-ui-valid/textarea/textarea-disabled.html | 9 +++++ .../textarea/textarea-dyn-disabled.html | 18 ++++++++++ .../textarea-dyn-not-disabled-changed.html | 19 ++++++++++ .../textarea/textarea-dyn-not-disabled.html | 18 ++++++++++ .../textarea-dyn-not-readonly-changed.html | 19 ++++++++++ .../textarea/textarea-dyn-not-readonly.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-valid/textarea/textarea-readonly.html | 9 +++++ .../css-ui-valid/textarea/textarea-ref.html | 7 ++++ .../textarea/textarea-required-invalid.html | 10 ++++++ .../textarea/textarea-required-valid-changed.html | 11 ++++++ .../textarea/textarea-required-valid.html | 10 ++++++ .../css-ui-valid/textarea/textarea-valid.html | 9 +++++ .../textarea/textarea-withtext-ref.html | 7 ++++ 123 files changed, 1492 insertions(+) create mode 100644 layout/reftests/css-ui-valid/button/button-button.html create mode 100644 layout/reftests/css-ui-valid/button/button-disabled-fieldset-1.html create mode 100644 layout/reftests/css-ui-valid/button/button-disabled-fieldset-2.html create mode 100644 layout/reftests/css-ui-valid/button/button-disabled-ref.html create mode 100644 layout/reftests/css-ui-valid/button/button-disabled.html create mode 100644 layout/reftests/css-ui-valid/button/button-dyn-disabled.html create mode 100644 layout/reftests/css-ui-valid/button/button-dyn-not-disabled.html create mode 100644 layout/reftests/css-ui-valid/button/button-fieldset-legend-ref.html create mode 100644 layout/reftests/css-ui-valid/button/button-fieldset-legend.html create mode 100644 layout/reftests/css-ui-valid/button/button-fieldset-ref.html create mode 100644 layout/reftests/css-ui-valid/button/button-invalid.html create mode 100644 layout/reftests/css-ui-valid/button/button-ref.html create mode 100644 layout/reftests/css-ui-valid/button/button-reset.html create mode 100644 layout/reftests/css-ui-valid/button/button-type-barred.html create mode 100644 layout/reftests/css-ui-valid/button/button-type-invalid.html create mode 100644 layout/reftests/css-ui-valid/button/button-valid.html create mode 100644 layout/reftests/css-ui-valid/button/reftest.list create mode 100644 layout/reftests/css-ui-valid/button/style.css create mode 100644 layout/reftests/css-ui-valid/input/input-button-ref.html create mode 100644 layout/reftests/css-ui-valid/input/input-button.html create mode 100644 layout/reftests/css-ui-valid/input/input-checkbox-valid-changed.html create mode 100644 layout/reftests/css-ui-valid/input/input-checkbox-valid-default.html create mode 100644 layout/reftests/css-ui-valid/input/input-customerror.html create mode 100644 layout/reftests/css-ui-valid/input/input-disabled-fieldset-1.html create mode 100644 layout/reftests/css-ui-valid/input/input-disabled-fieldset-2.html create mode 100644 layout/reftests/css-ui-valid/input/input-disabled.html create mode 100644 layout/reftests/css-ui-valid/input/input-dyn-disabled.html create mode 100644 layout/reftests/css-ui-valid/input/input-dyn-not-disabled-changed.html create mode 100644 layout/reftests/css-ui-valid/input/input-dyn-not-disabled.html create mode 100644 layout/reftests/css-ui-valid/input/input-dyn-not-readonly-changed.html create mode 100644 layout/reftests/css-ui-valid/input/input-dyn-not-readonly.html create mode 100644 layout/reftests/css-ui-valid/input/input-dyn-readonly.html create mode 100644 layout/reftests/css-ui-valid/input/input-email-invalid.html create mode 100644 layout/reftests/css-ui-valid/input/input-email-ref.html create mode 100644 layout/reftests/css-ui-valid/input/input-email-valid-changed.html create mode 100644 layout/reftests/css-ui-valid/input/input-email-valid.html create mode 100644 layout/reftests/css-ui-valid/input/input-fieldset-legend-ref.html create mode 100644 layout/reftests/css-ui-valid/input/input-fieldset-legend.html create mode 100644 layout/reftests/css-ui-valid/input/input-fieldset-ref.html create mode 100644 layout/reftests/css-ui-valid/input/input-file-ref.html create mode 100644 layout/reftests/css-ui-valid/input/input-file-valid-changed.html create mode 100644 layout/reftests/css-ui-valid/input/input-file-valid-default.html create mode 100644 layout/reftests/css-ui-valid/input/input-pattern-invalid.html create mode 100644 layout/reftests/css-ui-valid/input/input-pattern-valid-changed.html create mode 100644 layout/reftests/css-ui-valid/input/input-pattern-valid.html create mode 100644 layout/reftests/css-ui-valid/input/input-radio-customerror.html create mode 100644 layout/reftests/css-ui-valid/input/input-radio-dyn-valid-1.html create mode 100644 layout/reftests/css-ui-valid/input/input-radio-dyn-valid-2.html create mode 100644 layout/reftests/css-ui-valid/input/input-radio-nogroup-required-invalid.html create mode 100644 layout/reftests/css-ui-valid/input/input-radio-nogroup-required-valid.html create mode 100644 layout/reftests/css-ui-valid/input/input-radio-required.html create mode 100644 layout/reftests/css-ui-valid/input/input-radio-valid-changed.html create mode 100644 layout/reftests/css-ui-valid/input/input-radio-valid-default.html create mode 100644 layout/reftests/css-ui-valid/input/input-readonly.html create mode 100644 layout/reftests/css-ui-valid/input/input-ref.html create mode 100644 layout/reftests/css-ui-valid/input/input-required-invalid.html create mode 100644 layout/reftests/css-ui-valid/input/input-required-valid-changed.html create mode 100644 layout/reftests/css-ui-valid/input/input-required-valid.html create mode 100644 layout/reftests/css-ui-valid/input/input-reset.html create mode 100644 layout/reftests/css-ui-valid/input/input-type-barred.html create mode 100644 layout/reftests/css-ui-valid/input/input-type-invalid.html create mode 100644 layout/reftests/css-ui-valid/input/input-url-invalid.html create mode 100644 layout/reftests/css-ui-valid/input/input-url-ref.html create mode 100644 layout/reftests/css-ui-valid/input/input-url-valid-changed.html create mode 100644 layout/reftests/css-ui-valid/input/input-url-valid.html create mode 100644 layout/reftests/css-ui-valid/input/input-valid.html create mode 100644 layout/reftests/css-ui-valid/input/input-withtext-ref.html create mode 100644 layout/reftests/css-ui-valid/input/reftest.list create mode 100644 layout/reftests/css-ui-valid/input/style.css create mode 100644 layout/reftests/css-ui-valid/input/success-ref.html create mode 100644 layout/reftests/css-ui-valid/output/output-invalid.html create mode 100644 layout/reftests/css-ui-valid/output/output-ref.html create mode 100644 layout/reftests/css-ui-valid/output/output-valid.html create mode 100644 layout/reftests/css-ui-valid/output/reftest.list create mode 100644 layout/reftests/css-ui-valid/output/style.css create mode 100644 layout/reftests/css-ui-valid/reftest.list create mode 100644 layout/reftests/css-ui-valid/select/reftest.list create mode 100644 layout/reftests/css-ui-valid/select/select-disabled-fieldset-1.html create mode 100644 layout/reftests/css-ui-valid/select/select-disabled-fieldset-2.html create mode 100644 layout/reftests/css-ui-valid/select/select-disabled-ref.html create mode 100644 layout/reftests/css-ui-valid/select/select-disabled.html create mode 100644 layout/reftests/css-ui-valid/select/select-dyn-disabled.html create mode 100644 layout/reftests/css-ui-valid/select/select-dyn-not-disabled.html create mode 100644 layout/reftests/css-ui-valid/select/select-fieldset-legend-ref.html create mode 100644 layout/reftests/css-ui-valid/select/select-fieldset-legend.html create mode 100644 layout/reftests/css-ui-valid/select/select-fieldset-ref.html create mode 100644 layout/reftests/css-ui-valid/select/select-invalid.html create mode 100644 layout/reftests/css-ui-valid/select/select-ref.html create mode 100644 layout/reftests/css-ui-valid/select/select-required-invalid.html create mode 100644 layout/reftests/css-ui-valid/select/select-required-multiple-invalid.html create mode 100644 layout/reftests/css-ui-valid/select/select-required-multiple-ref.html create mode 100644 layout/reftests/css-ui-valid/select/select-required-multiple-valid-changed.html create mode 100644 layout/reftests/css-ui-valid/select/select-required-multiple-valid.html create mode 100644 layout/reftests/css-ui-valid/select/select-required-ref.html create mode 100644 layout/reftests/css-ui-valid/select/select-required-valid-1.html create mode 100644 layout/reftests/css-ui-valid/select/select-required-valid-2.html create mode 100644 layout/reftests/css-ui-valid/select/select-required-valid-changed-1.html create mode 100644 layout/reftests/css-ui-valid/select/select-required-valid-changed-2.html create mode 100644 layout/reftests/css-ui-valid/select/select-valid-reset.html create mode 100644 layout/reftests/css-ui-valid/select/select-valid.html create mode 100644 layout/reftests/css-ui-valid/select/style.css create mode 100644 layout/reftests/css-ui-valid/textarea/reftest.list create mode 100644 layout/reftests/css-ui-valid/textarea/style.css create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-customerror.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-disabled-fieldset-1.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-disabled-fieldset-2.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-disabled.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-dyn-disabled.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-dyn-not-disabled-changed.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-dyn-not-disabled.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-dyn-not-readonly-changed.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-dyn-not-readonly.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-dyn-readonly.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-fieldset-legend-ref.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-fieldset-legend.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-fieldset-ref.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-readonly.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-ref.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-required-invalid.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-required-valid-changed.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-required-valid.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-valid.html create mode 100644 layout/reftests/css-ui-valid/textarea/textarea-withtext-ref.html (limited to 'layout/reftests/css-ui-valid') diff --git a/layout/reftests/css-ui-valid/button/button-button.html b/layout/reftests/css-ui-valid/button/button-button.html new file mode 100644 index 0000000000..c58eab7ff5 --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-button.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/button/button-disabled-fieldset-1.html b/layout/reftests/css-ui-valid/button/button-disabled-fieldset-1.html new file mode 100644 index 0000000000..1374cdfee3 --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-disabled-fieldset-1.html @@ -0,0 +1,15 @@ + + + + + +
+
+ +
+
+ + + diff --git a/layout/reftests/css-ui-valid/button/button-disabled-fieldset-2.html b/layout/reftests/css-ui-valid/button/button-disabled-fieldset-2.html new file mode 100644 index 0000000000..4f18437d7b --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-disabled-fieldset-2.html @@ -0,0 +1,23 @@ + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-valid/button/button-disabled-ref.html b/layout/reftests/css-ui-valid/button/button-disabled-ref.html new file mode 100644 index 0000000000..7de1ba7c5c --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-disabled-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-valid/button/button-disabled.html b/layout/reftests/css-ui-valid/button/button-disabled.html new file mode 100644 index 0000000000..d22a7d1dfb --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/button/button-dyn-disabled.html b/layout/reftests/css-ui-valid/button/button-dyn-disabled.html new file mode 100644 index 0000000000..00c07034e1 --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-dyn-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/button/button-dyn-not-disabled.html b/layout/reftests/css-ui-valid/button/button-dyn-not-disabled.html new file mode 100644 index 0000000000..671573cc3e --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-dyn-not-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/button/button-fieldset-legend-ref.html b/layout/reftests/css-ui-valid/button/button-fieldset-legend-ref.html new file mode 100644 index 0000000000..22adc433cd --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-fieldset-legend-ref.html @@ -0,0 +1,10 @@ + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-valid/button/button-fieldset-legend.html b/layout/reftests/css-ui-valid/button/button-fieldset-legend.html new file mode 100644 index 0000000000..34159d6180 --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-fieldset-legend.html @@ -0,0 +1,14 @@ + + + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-valid/button/button-fieldset-ref.html b/layout/reftests/css-ui-valid/button/button-fieldset-ref.html new file mode 100644 index 0000000000..60ab1a3ef0 --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-fieldset-ref.html @@ -0,0 +1,10 @@ + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-valid/button/button-invalid.html b/layout/reftests/css-ui-valid/button/button-invalid.html new file mode 100644 index 0000000000..9b0524745c --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-invalid.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/button/button-ref.html b/layout/reftests/css-ui-valid/button/button-ref.html new file mode 100644 index 0000000000..422cc9315f --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-valid/button/button-reset.html b/layout/reftests/css-ui-valid/button/button-reset.html new file mode 100644 index 0000000000..81547909b1 --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-reset.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/button/button-type-barred.html b/layout/reftests/css-ui-valid/button/button-type-barred.html new file mode 100644 index 0000000000..db630d300f --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-type-barred.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/button/button-type-invalid.html b/layout/reftests/css-ui-valid/button/button-type-invalid.html new file mode 100644 index 0000000000..637f5aec5f --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-type-invalid.html @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/button/button-valid.html b/layout/reftests/css-ui-valid/button/button-valid.html new file mode 100644 index 0000000000..468fcb175a --- /dev/null +++ b/layout/reftests/css-ui-valid/button/button-valid.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/button/reftest.list b/layout/reftests/css-ui-valid/button/reftest.list new file mode 100644 index 0000000000..1ad358be34 --- /dev/null +++ b/layout/reftests/css-ui-valid/button/reftest.list @@ -0,0 +1,12 @@ +fuzzy(0-2,0-2) == button-valid.html button-ref.html +fuzzy(0-2,0-3) == button-invalid.html button-ref.html +== button-disabled.html button-disabled-ref.html +fuzzy(0-1,0-3) == button-dyn-disabled.html button-disabled-ref.html +fuzzy(0-2,0-3) == button-dyn-not-disabled.html button-ref.html +fuzzy(0-2,0-3) == button-button.html button-ref.html +fuzzy(0-2,0-3) == button-reset.html button-ref.html +fuzzy(0-2,0-3) == button-type-invalid.html button-ref.html +fuzzy(0-2,0-3) == button-type-barred.html button-ref.html +== button-disabled-fieldset-1.html button-fieldset-ref.html +fuzzy(0-1,0-3) == button-disabled-fieldset-2.html button-fieldset-ref.html +fuzzy(0-1,0-3) == button-fieldset-legend.html button-fieldset-legend-ref.html diff --git a/layout/reftests/css-ui-valid/button/style.css b/layout/reftests/css-ui-valid/button/style.css new file mode 100644 index 0000000000..ee57842a8a --- /dev/null +++ b/layout/reftests/css-ui-valid/button/style.css @@ -0,0 +1,18 @@ +/* Override default style */ +button:invalid { + box-shadow: none; +} + +button.notvalid { + background-color: green; +} +button.notvalid:-moz-ui-valid { + background-color: red; +} + +button.valid { + background-color: red; +} +button.valid:-moz-ui-valid { + background-color: green; +} diff --git a/layout/reftests/css-ui-valid/input/input-button-ref.html b/layout/reftests/css-ui-valid/input/input-button-ref.html new file mode 100644 index 0000000000..3b828533e3 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-button-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-button.html b/layout/reftests/css-ui-valid/input/input-button.html new file mode 100644 index 0000000000..75898b5653 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-button.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-checkbox-valid-changed.html b/layout/reftests/css-ui-valid/input/input-checkbox-valid-changed.html new file mode 100644 index 0000000000..3ba877abb9 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-checkbox-valid-changed.html @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-checkbox-valid-default.html b/layout/reftests/css-ui-valid/input/input-checkbox-valid-default.html new file mode 100644 index 0000000000..fd7a9c5943 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-checkbox-valid-default.html @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-customerror.html b/layout/reftests/css-ui-valid/input/input-customerror.html new file mode 100644 index 0000000000..394b141473 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-customerror.html @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-disabled-fieldset-1.html b/layout/reftests/css-ui-valid/input/input-disabled-fieldset-1.html new file mode 100644 index 0000000000..2a84501329 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-disabled-fieldset-1.html @@ -0,0 +1,14 @@ + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-valid/input/input-disabled-fieldset-2.html b/layout/reftests/css-ui-valid/input/input-disabled-fieldset-2.html new file mode 100644 index 0000000000..db13e2559b --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-disabled-fieldset-2.html @@ -0,0 +1,23 @@ + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-valid/input/input-disabled.html b/layout/reftests/css-ui-valid/input/input-disabled.html new file mode 100644 index 0000000000..f658b2d0cd --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-dyn-disabled.html b/layout/reftests/css-ui-valid/input/input-dyn-disabled.html new file mode 100644 index 0000000000..dc8978196e --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-dyn-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-dyn-not-disabled-changed.html b/layout/reftests/css-ui-valid/input/input-dyn-not-disabled-changed.html new file mode 100644 index 0000000000..535121db18 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-dyn-not-disabled-changed.html @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-dyn-not-disabled.html b/layout/reftests/css-ui-valid/input/input-dyn-not-disabled.html new file mode 100644 index 0000000000..3ba00d7a5d --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-dyn-not-disabled.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-dyn-not-readonly-changed.html b/layout/reftests/css-ui-valid/input/input-dyn-not-readonly-changed.html new file mode 100644 index 0000000000..c50a61a454 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-dyn-not-readonly-changed.html @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-dyn-not-readonly.html b/layout/reftests/css-ui-valid/input/input-dyn-not-readonly.html new file mode 100644 index 0000000000..9a6c92d39f --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-dyn-not-readonly.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-dyn-readonly.html b/layout/reftests/css-ui-valid/input/input-dyn-readonly.html new file mode 100644 index 0000000000..63cec69cb4 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-dyn-readonly.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-email-invalid.html b/layout/reftests/css-ui-valid/input/input-email-invalid.html new file mode 100644 index 0000000000..622ccc142e --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-email-invalid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-email-ref.html b/layout/reftests/css-ui-valid/input/input-email-ref.html new file mode 100644 index 0000000000..ecec613c26 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-email-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-email-valid-changed.html b/layout/reftests/css-ui-valid/input/input-email-valid-changed.html new file mode 100644 index 0000000000..ea3a33e8c7 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-email-valid-changed.html @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-email-valid.html b/layout/reftests/css-ui-valid/input/input-email-valid.html new file mode 100644 index 0000000000..05020dac8b --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-email-valid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-fieldset-legend-ref.html b/layout/reftests/css-ui-valid/input/input-fieldset-legend-ref.html new file mode 100644 index 0000000000..8d39d91646 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-fieldset-legend-ref.html @@ -0,0 +1,10 @@ + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-valid/input/input-fieldset-legend.html b/layout/reftests/css-ui-valid/input/input-fieldset-legend.html new file mode 100644 index 0000000000..f48b46c1c3 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-fieldset-legend.html @@ -0,0 +1,14 @@ + + + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-valid/input/input-fieldset-ref.html b/layout/reftests/css-ui-valid/input/input-fieldset-ref.html new file mode 100644 index 0000000000..a9e1239125 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-fieldset-ref.html @@ -0,0 +1,10 @@ + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-valid/input/input-file-ref.html b/layout/reftests/css-ui-valid/input/input-file-ref.html new file mode 100644 index 0000000000..73a4fc64cc --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-file-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-file-valid-changed.html b/layout/reftests/css-ui-valid/input/input-file-valid-changed.html new file mode 100644 index 0000000000..9ea52fcea5 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-file-valid-changed.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-file-valid-default.html b/layout/reftests/css-ui-valid/input/input-file-valid-default.html new file mode 100644 index 0000000000..b940be643d --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-file-valid-default.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-pattern-invalid.html b/layout/reftests/css-ui-valid/input/input-pattern-invalid.html new file mode 100644 index 0000000000..2efb1748cc --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-pattern-invalid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-pattern-valid-changed.html b/layout/reftests/css-ui-valid/input/input-pattern-valid-changed.html new file mode 100644 index 0000000000..edf4bc710e --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-pattern-valid-changed.html @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-pattern-valid.html b/layout/reftests/css-ui-valid/input/input-pattern-valid.html new file mode 100644 index 0000000000..b9f4db273e --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-pattern-valid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-radio-customerror.html b/layout/reftests/css-ui-valid/input/input-radio-customerror.html new file mode 100644 index 0000000000..6917667238 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-radio-customerror.html @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-radio-dyn-valid-1.html b/layout/reftests/css-ui-valid/input/input-radio-dyn-valid-1.html new file mode 100644 index 0000000000..3aa77deee2 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-radio-dyn-valid-1.html @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-radio-dyn-valid-2.html b/layout/reftests/css-ui-valid/input/input-radio-dyn-valid-2.html new file mode 100644 index 0000000000..c5fbb9eaca --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-radio-dyn-valid-2.html @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-radio-nogroup-required-invalid.html b/layout/reftests/css-ui-valid/input/input-radio-nogroup-required-invalid.html new file mode 100644 index 0000000000..43285750c3 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-radio-nogroup-required-invalid.html @@ -0,0 +1,13 @@ + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-radio-nogroup-required-valid.html b/layout/reftests/css-ui-valid/input/input-radio-nogroup-required-valid.html new file mode 100644 index 0000000000..6808b0186b --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-radio-nogroup-required-valid.html @@ -0,0 +1,13 @@ + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-radio-required.html b/layout/reftests/css-ui-valid/input/input-radio-required.html new file mode 100644 index 0000000000..8af43a24cc --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-radio-required.html @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-radio-valid-changed.html b/layout/reftests/css-ui-valid/input/input-radio-valid-changed.html new file mode 100644 index 0000000000..77b5900e6b --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-radio-valid-changed.html @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-radio-valid-default.html b/layout/reftests/css-ui-valid/input/input-radio-valid-default.html new file mode 100644 index 0000000000..360aeb21fe --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-radio-valid-default.html @@ -0,0 +1,14 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-readonly.html b/layout/reftests/css-ui-valid/input/input-readonly.html new file mode 100644 index 0000000000..f52a189f0b --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-readonly.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-ref.html b/layout/reftests/css-ui-valid/input/input-ref.html new file mode 100644 index 0000000000..65b4b97078 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-required-invalid.html b/layout/reftests/css-ui-valid/input/input-required-invalid.html new file mode 100644 index 0000000000..56ac86422c --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-required-invalid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-required-valid-changed.html b/layout/reftests/css-ui-valid/input/input-required-valid-changed.html new file mode 100644 index 0000000000..f67732eaf5 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-required-valid-changed.html @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-required-valid.html b/layout/reftests/css-ui-valid/input/input-required-valid.html new file mode 100644 index 0000000000..a4fe4e0066 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-required-valid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-reset.html b/layout/reftests/css-ui-valid/input/input-reset.html new file mode 100644 index 0000000000..6e73d6a13a --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-reset.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-type-barred.html b/layout/reftests/css-ui-valid/input/input-type-barred.html new file mode 100644 index 0000000000..fea39eb5a8 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-type-barred.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-type-invalid.html b/layout/reftests/css-ui-valid/input/input-type-invalid.html new file mode 100644 index 0000000000..b3e342aab9 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-type-invalid.html @@ -0,0 +1,20 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-url-invalid.html b/layout/reftests/css-ui-valid/input/input-url-invalid.html new file mode 100644 index 0000000000..f0f99a01e5 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-url-invalid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-url-ref.html b/layout/reftests/css-ui-valid/input/input-url-ref.html new file mode 100644 index 0000000000..e95cdbca2e --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-url-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-url-valid-changed.html b/layout/reftests/css-ui-valid/input/input-url-valid-changed.html new file mode 100644 index 0000000000..76bfea089d --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-url-valid-changed.html @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-url-valid.html b/layout/reftests/css-ui-valid/input/input-url-valid.html new file mode 100644 index 0000000000..7d20970a4d --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-url-valid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-valid.html b/layout/reftests/css-ui-valid/input/input-valid.html new file mode 100644 index 0000000000..0e0440d0e7 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-valid.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/input/input-withtext-ref.html b/layout/reftests/css-ui-valid/input/input-withtext-ref.html new file mode 100644 index 0000000000..d54d052157 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/input-withtext-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-valid/input/reftest.list b/layout/reftests/css-ui-valid/input/reftest.list new file mode 100644 index 0000000000..1dc3c73d92 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/reftest.list @@ -0,0 +1,40 @@ +== input-valid.html input-ref.html +fuzzy(0-11,0-4) == input-customerror.html input-ref.html +== input-disabled.html input-ref.html +fuzzy(0-1,0-3) == input-dyn-disabled.html input-ref.html +fuzzy(0-1,0-3) == input-dyn-not-disabled.html input-ref.html +fuzzy(0-1,0-3) == input-dyn-not-disabled-changed.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.html input-ref.html +fuzzy(0-1,0-3) == input-dyn-not-readonly-changed.html input-ref.html +== input-required-valid.html input-withtext-ref.html +== input-required-valid-changed.html input-withtext-ref.html +fuzzy(0-1,0-3) == input-required-invalid.html input-ref.html +== input-button.html input-button-ref.html +== input-reset.html input-button-ref.html +== input-email-invalid.html input-withtext-ref.html +== input-email-valid.html input-email-ref.html +== input-email-valid-changed.html input-email-ref.html +== input-url-invalid.html input-withtext-ref.html +== input-url-valid.html input-url-ref.html +== input-url-valid-changed.html input-url-ref.html +== input-pattern-valid.html input-withtext-ref.html +== input-pattern-valid-changed.html input-withtext-ref.html +== input-pattern-invalid.html input-withtext-ref.html +== input-type-barred.html input-button-ref.html +fuzzy(0-64,0-4) == input-type-invalid.html input-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-valid-changed.html success-ref.html +== input-checkbox-valid-default.html success-ref.html +== input-file-valid-changed.html input-file-ref.html +== input-file-valid-default.html input-file-ref.html +== input-radio-required.html success-ref.html +== input-radio-customerror.html success-ref.html +== input-radio-dyn-valid-1.html success-ref.html +== input-radio-dyn-valid-2.html success-ref.html +== input-radio-nogroup-required-valid.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-valid/input/style.css b/layout/reftests/css-ui-valid/input/style.css new file mode 100644 index 0000000000..aa3f74b3c7 --- /dev/null +++ b/layout/reftests/css-ui-valid/input/style.css @@ -0,0 +1,18 @@ +/* Override default style */ +input:invalid { + box-shadow: none; +} + +input.notvalid { + background-color: green; +} +input.notvalid:-moz-ui-valid { + background-color: red; +} + +input.valid { + background-color: red; +} +input.valid:-moz-ui-valid { + background-color: green; +} diff --git a/layout/reftests/css-ui-valid/input/success-ref.html b/layout/reftests/css-ui-valid/input/success-ref.html new file mode 100644 index 0000000000..bfa8e0a12c --- /dev/null +++ b/layout/reftests/css-ui-valid/input/success-ref.html @@ -0,0 +1,6 @@ + + + + SUCCESS + + diff --git a/layout/reftests/css-ui-valid/output/output-invalid.html b/layout/reftests/css-ui-valid/output/output-invalid.html new file mode 100644 index 0000000000..83e824350f --- /dev/null +++ b/layout/reftests/css-ui-valid/output/output-invalid.html @@ -0,0 +1,9 @@ + + + + + + foo + + diff --git a/layout/reftests/css-ui-valid/output/output-ref.html b/layout/reftests/css-ui-valid/output/output-ref.html new file mode 100644 index 0000000000..0db2c440c7 --- /dev/null +++ b/layout/reftests/css-ui-valid/output/output-ref.html @@ -0,0 +1,7 @@ + + + + + foo + + diff --git a/layout/reftests/css-ui-valid/output/output-valid.html b/layout/reftests/css-ui-valid/output/output-valid.html new file mode 100644 index 0000000000..7f6d68f406 --- /dev/null +++ b/layout/reftests/css-ui-valid/output/output-valid.html @@ -0,0 +1,9 @@ + + + + + + foo + + diff --git a/layout/reftests/css-ui-valid/output/reftest.list b/layout/reftests/css-ui-valid/output/reftest.list new file mode 100644 index 0000000000..a31b0da210 --- /dev/null +++ b/layout/reftests/css-ui-valid/output/reftest.list @@ -0,0 +1,2 @@ +skip-if(ThreadSanitizer) == output-valid.html output-ref.html +== output-invalid.html output-ref.html diff --git a/layout/reftests/css-ui-valid/output/style.css b/layout/reftests/css-ui-valid/output/style.css new file mode 100644 index 0000000000..1af22d9b38 --- /dev/null +++ b/layout/reftests/css-ui-valid/output/style.css @@ -0,0 +1,22 @@ +/* Override default style */ +output { + color: black; +} + +output.notvalid { + color: green; +} +output.notvalid:-moz-ui-valid { + color: red; +} + +output.valid { + color: green; +} +output.valid:-moz-ui-valid { + color: red; +} + +output.ref { + color: green; +} diff --git a/layout/reftests/css-ui-valid/reftest.list b/layout/reftests/css-ui-valid/reftest.list new file mode 100644 index 0000000000..5a765bd718 --- /dev/null +++ b/layout/reftests/css-ui-valid/reftest.list @@ -0,0 +1,6 @@ +# :-moz-ui-valid 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 diff --git a/layout/reftests/css-ui-valid/select/reftest.list b/layout/reftests/css-ui-valid/select/reftest.list new file mode 100644 index 0000000000..cbfb21de28 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/reftest.list @@ -0,0 +1,17 @@ +skip-if(ThreadSanitizer) fuzzy-if(Android,0-8,0-1) needs-focus == select-valid.html select-ref.html +fuzzy(0-2,0-5) needs-focus == select-valid-reset.html select-required-ref.html +fuzzy(0-1,0-3) needs-focus == select-invalid.html select-ref.html +fuzzy(0-2,0-4) needs-focus == select-disabled.html select-disabled-ref.html +fuzzy(0-2,0-4) needs-focus == select-dyn-disabled.html select-disabled-ref.html +fuzzy(0-1,0-3) needs-focus == select-dyn-not-disabled.html select-ref.html +fuzzy(0-2,0-5) needs-focus == select-required-invalid.html select-required-ref.html +fuzzy(0-2,0-5) needs-focus == select-required-valid-1.html select-required-ref.html +fuzzy(0-2,0-5) needs-focus == select-required-valid-2.html select-required-ref.html +fuzzy(0-2,0-5) needs-focus == select-required-valid-changed-1.html select-required-ref.html +fuzzy(0-2,0-5) needs-focus == select-required-valid-changed-2.html select-required-ref.html +needs-focus == select-required-multiple-invalid.html select-required-multiple-ref.html +needs-focus == select-required-multiple-valid.html select-required-multiple-ref.html +fuzzy(0-1,0-1000) needs-focus == select-required-multiple-valid-changed.html select-required-multiple-ref.html +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) needs-focus == select-disabled-fieldset-2.html select-fieldset-ref.html +fuzzy(0-2,0-10) needs-focus == select-fieldset-legend.html select-fieldset-legend-ref.html diff --git a/layout/reftests/css-ui-valid/select/select-disabled-fieldset-1.html b/layout/reftests/css-ui-valid/select/select-disabled-fieldset-1.html new file mode 100644 index 0000000000..43a6941f47 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-disabled-fieldset-1.html @@ -0,0 +1,14 @@ + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-valid/select/select-disabled-fieldset-2.html b/layout/reftests/css-ui-valid/select/select-disabled-fieldset-2.html new file mode 100644 index 0000000000..22b2fe780b --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-disabled-fieldset-2.html @@ -0,0 +1,23 @@ + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-valid/select/select-disabled-ref.html b/layout/reftests/css-ui-valid/select/select-disabled-ref.html new file mode 100644 index 0000000000..e3a228a897 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-disabled-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-disabled.html b/layout/reftests/css-ui-valid/select/select-disabled.html new file mode 100644 index 0000000000..0a33953203 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-dyn-disabled.html b/layout/reftests/css-ui-valid/select/select-dyn-disabled.html new file mode 100644 index 0000000000..43054fd565 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-dyn-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-dyn-not-disabled.html b/layout/reftests/css-ui-valid/select/select-dyn-not-disabled.html new file mode 100644 index 0000000000..fbf34b0203 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-dyn-not-disabled.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-fieldset-legend-ref.html b/layout/reftests/css-ui-valid/select/select-fieldset-legend-ref.html new file mode 100644 index 0000000000..5083cea90d --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-fieldset-legend-ref.html @@ -0,0 +1,10 @@ + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-valid/select/select-fieldset-legend.html b/layout/reftests/css-ui-valid/select/select-fieldset-legend.html new file mode 100644 index 0000000000..9711f39c2b --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-fieldset-legend.html @@ -0,0 +1,14 @@ + + + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-valid/select/select-fieldset-ref.html b/layout/reftests/css-ui-valid/select/select-fieldset-ref.html new file mode 100644 index 0000000000..ca82a8022d --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-fieldset-ref.html @@ -0,0 +1,10 @@ + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-valid/select/select-invalid.html b/layout/reftests/css-ui-valid/select/select-invalid.html new file mode 100644 index 0000000000..83a3b79f28 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-invalid.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-ref.html b/layout/reftests/css-ui-valid/select/select-ref.html new file mode 100644 index 0000000000..a28668557f --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-required-invalid.html b/layout/reftests/css-ui-valid/select/select-required-invalid.html new file mode 100644 index 0000000000..e4569fb0ff --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-required-invalid.html @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-required-multiple-invalid.html b/layout/reftests/css-ui-valid/select/select-required-multiple-invalid.html new file mode 100644 index 0000000000..4a862dbca0 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-required-multiple-invalid.html @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-required-multiple-ref.html b/layout/reftests/css-ui-valid/select/select-required-multiple-ref.html new file mode 100644 index 0000000000..a9477333f8 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-required-multiple-ref.html @@ -0,0 +1,10 @@ + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-required-multiple-valid-changed.html b/layout/reftests/css-ui-valid/select/select-required-multiple-valid-changed.html new file mode 100644 index 0000000000..7abf9b10dd --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-required-multiple-valid-changed.html @@ -0,0 +1,24 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-required-multiple-valid.html b/layout/reftests/css-ui-valid/select/select-required-multiple-valid.html new file mode 100644 index 0000000000..572d6477f5 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-required-multiple-valid.html @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-required-ref.html b/layout/reftests/css-ui-valid/select/select-required-ref.html new file mode 100644 index 0000000000..3c2bde80a0 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-required-ref.html @@ -0,0 +1,9 @@ + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-required-valid-1.html b/layout/reftests/css-ui-valid/select/select-required-valid-1.html new file mode 100644 index 0000000000..a092e3fcb5 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-required-valid-1.html @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-required-valid-2.html b/layout/reftests/css-ui-valid/select/select-required-valid-2.html new file mode 100644 index 0000000000..c4cf9aec50 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-required-valid-2.html @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-required-valid-changed-1.html b/layout/reftests/css-ui-valid/select/select-required-valid-changed-1.html new file mode 100644 index 0000000000..89095e7b9b --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-required-valid-changed-1.html @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-required-valid-changed-2.html b/layout/reftests/css-ui-valid/select/select-required-valid-changed-2.html new file mode 100644 index 0000000000..421fee51eb --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-required-valid-changed-2.html @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/select-valid-reset.html b/layout/reftests/css-ui-valid/select/select-valid-reset.html new file mode 100644 index 0000000000..a2b22a1768 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-valid-reset.html @@ -0,0 +1,15 @@ + + + + + +
+ +
+ + diff --git a/layout/reftests/css-ui-valid/select/select-valid.html b/layout/reftests/css-ui-valid/select/select-valid.html new file mode 100644 index 0000000000..e3adb623d8 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/select-valid.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/select/style.css b/layout/reftests/css-ui-valid/select/style.css new file mode 100644 index 0000000000..ea29b7ad09 --- /dev/null +++ b/layout/reftests/css-ui-valid/select/style.css @@ -0,0 +1,18 @@ +/* Override default style */ +select:invalid { + box-shadow: none; +} + +select.notvalid { + background-color: green; +} +select.notvalid:-moz-ui-valid { + background-color: red; +} + +select.valid { + background-color: red; +} +select.valid:-moz-ui-valid { + background-color: green; +} diff --git a/layout/reftests/css-ui-valid/textarea/reftest.list b/layout/reftests/css-ui-valid/textarea/reftest.list new file mode 100644 index 0000000000..4f974408ff --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/reftest.list @@ -0,0 +1,16 @@ +== textarea-valid.html textarea-ref.html +== textarea-customerror.html textarea-ref.html +== textarea-disabled.html textarea-ref.html +== textarea-dyn-disabled.html textarea-ref.html +== textarea-dyn-not-disabled.html textarea-ref.html +== textarea-dyn-not-disabled-changed.html textarea-ref.html +== textarea-readonly.html textarea-ref.html +== textarea-dyn-readonly.html textarea-ref.html +== textarea-dyn-not-readonly.html textarea-ref.html +== textarea-dyn-not-readonly-changed.html textarea-ref.html +== textarea-required-valid.html textarea-withtext-ref.html +== textarea-required-valid-changed.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 +== textarea-fieldset-legend.html textarea-fieldset-legend-ref.html diff --git a/layout/reftests/css-ui-valid/textarea/style.css b/layout/reftests/css-ui-valid/textarea/style.css new file mode 100644 index 0000000000..3ffe6c687b --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/style.css @@ -0,0 +1,26 @@ +/* Override default style */ +textarea { + border: 0px; +} + +textarea.ref { + background-color: green; +} + +textarea:invalid { + box-shadow: none; +} + +textarea.notvalid { + background-color: green; +} +textarea.notvalid:-moz-ui-valid { + background-color: red; +} + +textarea.valid { + background-color: red; +} +textarea.valid:-moz-ui-valid { + background-color: green; +} diff --git a/layout/reftests/css-ui-valid/textarea/textarea-customerror.html b/layout/reftests/css-ui-valid/textarea/textarea-customerror.html new file mode 100644 index 0000000000..f21239e47e --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-customerror.html @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-disabled-fieldset-1.html b/layout/reftests/css-ui-valid/textarea/textarea-disabled-fieldset-1.html new file mode 100644 index 0000000000..51c99bbbd9 --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-disabled-fieldset-1.html @@ -0,0 +1,14 @@ + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-disabled-fieldset-2.html b/layout/reftests/css-ui-valid/textarea/textarea-disabled-fieldset-2.html new file mode 100644 index 0000000000..4b7c6a7516 --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-disabled-fieldset-2.html @@ -0,0 +1,23 @@ + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-disabled.html b/layout/reftests/css-ui-valid/textarea/textarea-disabled.html new file mode 100644 index 0000000000..12748dfa2e --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-dyn-disabled.html b/layout/reftests/css-ui-valid/textarea/textarea-dyn-disabled.html new file mode 100644 index 0000000000..2759b856f3 --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-dyn-disabled.html @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-dyn-not-disabled-changed.html b/layout/reftests/css-ui-valid/textarea/textarea-dyn-not-disabled-changed.html new file mode 100644 index 0000000000..f13b373fd1 --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-dyn-not-disabled-changed.html @@ -0,0 +1,19 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-dyn-not-disabled.html b/layout/reftests/css-ui-valid/textarea/textarea-dyn-not-disabled.html new file mode 100644 index 0000000000..0f59aa6131 --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-dyn-not-disabled.html @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-dyn-not-readonly-changed.html b/layout/reftests/css-ui-valid/textarea/textarea-dyn-not-readonly-changed.html new file mode 100644 index 0000000000..c09c17b27c --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-dyn-not-readonly-changed.html @@ -0,0 +1,19 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-dyn-not-readonly.html b/layout/reftests/css-ui-valid/textarea/textarea-dyn-not-readonly.html new file mode 100644 index 0000000000..a797d13897 --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-dyn-not-readonly.html @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-dyn-readonly.html b/layout/reftests/css-ui-valid/textarea/textarea-dyn-readonly.html new file mode 100644 index 0000000000..6350ac4fba --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-dyn-readonly.html @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-fieldset-legend-ref.html b/layout/reftests/css-ui-valid/textarea/textarea-fieldset-legend-ref.html new file mode 100644 index 0000000000..8e81d23f1f --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-fieldset-legend-ref.html @@ -0,0 +1,11 @@ + + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-fieldset-legend.html b/layout/reftests/css-ui-valid/textarea/textarea-fieldset-legend.html new file mode 100644 index 0000000000..8ec6163742 --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-fieldset-legend.html @@ -0,0 +1,14 @@ + + + + + +
+ + + +
+ + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-fieldset-ref.html b/layout/reftests/css-ui-valid/textarea/textarea-fieldset-ref.html new file mode 100644 index 0000000000..1d01eb0438 --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-fieldset-ref.html @@ -0,0 +1,11 @@ + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-readonly.html b/layout/reftests/css-ui-valid/textarea/textarea-readonly.html new file mode 100644 index 0000000000..f75dea1716 --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-readonly.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-ref.html b/layout/reftests/css-ui-valid/textarea/textarea-ref.html new file mode 100644 index 0000000000..b370a02a0f --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-required-invalid.html b/layout/reftests/css-ui-valid/textarea/textarea-required-invalid.html new file mode 100644 index 0000000000..adbef2e790 --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-required-invalid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-required-valid-changed.html b/layout/reftests/css-ui-valid/textarea/textarea-required-valid-changed.html new file mode 100644 index 0000000000..f6357d8bcc --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-required-valid-changed.html @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-required-valid.html b/layout/reftests/css-ui-valid/textarea/textarea-required-valid.html new file mode 100644 index 0000000000..e7cf83dc6e --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-required-valid.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-valid.html b/layout/reftests/css-ui-valid/textarea/textarea-valid.html new file mode 100644 index 0000000000..4b24c17b59 --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-valid.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-ui-valid/textarea/textarea-withtext-ref.html b/layout/reftests/css-ui-valid/textarea/textarea-withtext-ref.html new file mode 100644 index 0000000000..a6a2b79cfa --- /dev/null +++ b/layout/reftests/css-ui-valid/textarea/textarea-withtext-ref.html @@ -0,0 +1,7 @@ + + + + + + + -- cgit v1.2.3