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 --- layout/reftests/css-invalid/select/reftest.list | 12 +++++++++++ .../select/select-disabled-fieldset-1.html | 22 +++++++++++++++++++ .../select/select-disabled-fieldset-2.html | 25 ++++++++++++++++++++++ .../css-invalid/select/select-disabled-ref.html | 6 ++++++ .../css-invalid/select/select-disabled.html | 9 ++++++++ .../css-invalid/select/select-dyn-disabled.html | 18 ++++++++++++++++ .../select/select-dyn-not-disabled.html | 19 ++++++++++++++++ .../select/select-fieldset-legend-ref.html | 10 +++++++++ .../css-invalid/select/select-fieldset-legend.html | 22 +++++++++++++++++++ .../css-invalid/select/select-fieldset-ref.html | 10 +++++++++ .../css-invalid/select/select-invalid.html | 9 ++++++++ layout/reftests/css-invalid/select/select-ref.html | 6 ++++++ .../select/select-required-invalid.html | 11 ++++++++++ .../select/select-required-multiple-ref.html | 10 +++++++++ .../select-required-multiple-still-valid.html | 12 +++++++++++ .../select/select-required-multiple-valid.html | 12 +++++++++++ .../css-invalid/select/select-required-ref.html | 9 ++++++++ .../css-invalid/select/select-required-valid.html | 11 ++++++++++ .../reftests/css-invalid/select/select-valid.html | 9 ++++++++ layout/reftests/css-invalid/select/style.css | 18 ++++++++++++++++ 20 files changed, 260 insertions(+) create mode 100644 layout/reftests/css-invalid/select/reftest.list create mode 100644 layout/reftests/css-invalid/select/select-disabled-fieldset-1.html create mode 100644 layout/reftests/css-invalid/select/select-disabled-fieldset-2.html create mode 100644 layout/reftests/css-invalid/select/select-disabled-ref.html create mode 100644 layout/reftests/css-invalid/select/select-disabled.html create mode 100644 layout/reftests/css-invalid/select/select-dyn-disabled.html create mode 100644 layout/reftests/css-invalid/select/select-dyn-not-disabled.html create mode 100644 layout/reftests/css-invalid/select/select-fieldset-legend-ref.html create mode 100644 layout/reftests/css-invalid/select/select-fieldset-legend.html create mode 100644 layout/reftests/css-invalid/select/select-fieldset-ref.html create mode 100644 layout/reftests/css-invalid/select/select-invalid.html create mode 100644 layout/reftests/css-invalid/select/select-ref.html create mode 100644 layout/reftests/css-invalid/select/select-required-invalid.html create mode 100644 layout/reftests/css-invalid/select/select-required-multiple-ref.html create mode 100644 layout/reftests/css-invalid/select/select-required-multiple-still-valid.html create mode 100644 layout/reftests/css-invalid/select/select-required-multiple-valid.html create mode 100644 layout/reftests/css-invalid/select/select-required-ref.html create mode 100644 layout/reftests/css-invalid/select/select-required-valid.html create mode 100644 layout/reftests/css-invalid/select/select-valid.html create mode 100644 layout/reftests/css-invalid/select/style.css (limited to 'layout/reftests/css-invalid/select') diff --git a/layout/reftests/css-invalid/select/reftest.list b/layout/reftests/css-invalid/select/reftest.list new file mode 100644 index 0000000000..38b5e3ff71 --- /dev/null +++ b/layout/reftests/css-invalid/select/reftest.list @@ -0,0 +1,12 @@ +needs-focus == select-valid.html select-ref.html +fuzzy(0-1,0-3) needs-focus == select-invalid.html select-ref.html +fuzzy(0-2,0-6) needs-focus == select-disabled.html select-disabled-ref.html +fuzzy(0-2,0-6) 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 +needs-focus == select-required-invalid.html select-required-ref.html +needs-focus == select-required-valid.html select-required-ref.html +needs-focus == select-required-multiple-still-valid.html select-required-multiple-ref.html +fuzzy(0-1,0-250) needs-focus == select-required-multiple-valid.html select-required-multiple-ref.html +fuzzy-if(!Android,0-1,0-3) fuzzy-if(Android,0-9,0-1) needs-focus == select-disabled-fieldset-1.html select-fieldset-ref.html +fuzzy-if(!Android,0-2,0-3) fuzzy-if(Android,0-8,0-1) needs-focus == select-disabled-fieldset-2.html select-fieldset-ref.html +fuzzy(0-2,0-5) needs-focus == select-fieldset-legend.html select-fieldset-legend-ref.html diff --git a/layout/reftests/css-invalid/select/select-disabled-fieldset-1.html b/layout/reftests/css-invalid/select/select-disabled-fieldset-1.html new file mode 100644 index 0000000000..9ba5a9600a --- /dev/null +++ b/layout/reftests/css-invalid/select/select-disabled-fieldset-1.html @@ -0,0 +1,22 @@ + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-invalid/select/select-disabled-fieldset-2.html b/layout/reftests/css-invalid/select/select-disabled-fieldset-2.html new file mode 100644 index 0000000000..e131aa6d73 --- /dev/null +++ b/layout/reftests/css-invalid/select/select-disabled-fieldset-2.html @@ -0,0 +1,25 @@ + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-invalid/select/select-disabled-ref.html b/layout/reftests/css-invalid/select/select-disabled-ref.html new file mode 100644 index 0000000000..e3a228a897 --- /dev/null +++ b/layout/reftests/css-invalid/select/select-disabled-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-invalid/select/select-disabled.html b/layout/reftests/css-invalid/select/select-disabled.html new file mode 100644 index 0000000000..51e03e541a --- /dev/null +++ b/layout/reftests/css-invalid/select/select-disabled.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-invalid/select/select-dyn-disabled.html b/layout/reftests/css-invalid/select/select-dyn-disabled.html new file mode 100644 index 0000000000..424c3b5e39 --- /dev/null +++ b/layout/reftests/css-invalid/select/select-dyn-disabled.html @@ -0,0 +1,18 @@ + + + + + + + + + diff --git a/layout/reftests/css-invalid/select/select-dyn-not-disabled.html b/layout/reftests/css-invalid/select/select-dyn-not-disabled.html new file mode 100644 index 0000000000..54de470acd --- /dev/null +++ b/layout/reftests/css-invalid/select/select-dyn-not-disabled.html @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/layout/reftests/css-invalid/select/select-fieldset-legend-ref.html b/layout/reftests/css-invalid/select/select-fieldset-legend-ref.html new file mode 100644 index 0000000000..5083cea90d --- /dev/null +++ b/layout/reftests/css-invalid/select/select-fieldset-legend-ref.html @@ -0,0 +1,10 @@ + + + +
+ + + +
+ + diff --git a/layout/reftests/css-invalid/select/select-fieldset-legend.html b/layout/reftests/css-invalid/select/select-fieldset-legend.html new file mode 100644 index 0000000000..dea989deed --- /dev/null +++ b/layout/reftests/css-invalid/select/select-fieldset-legend.html @@ -0,0 +1,22 @@ + + + + + + +
+ + + +
+ + diff --git a/layout/reftests/css-invalid/select/select-fieldset-ref.html b/layout/reftests/css-invalid/select/select-fieldset-ref.html new file mode 100644 index 0000000000..ca82a8022d --- /dev/null +++ b/layout/reftests/css-invalid/select/select-fieldset-ref.html @@ -0,0 +1,10 @@ + + + +
+
+ +
+
+ + diff --git a/layout/reftests/css-invalid/select/select-invalid.html b/layout/reftests/css-invalid/select/select-invalid.html new file mode 100644 index 0000000000..45d3790adb --- /dev/null +++ b/layout/reftests/css-invalid/select/select-invalid.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-invalid/select/select-ref.html b/layout/reftests/css-invalid/select/select-ref.html new file mode 100644 index 0000000000..a28668557f --- /dev/null +++ b/layout/reftests/css-invalid/select/select-ref.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/layout/reftests/css-invalid/select/select-required-invalid.html b/layout/reftests/css-invalid/select/select-required-invalid.html new file mode 100644 index 0000000000..31f6c81d11 --- /dev/null +++ b/layout/reftests/css-invalid/select/select-required-invalid.html @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/layout/reftests/css-invalid/select/select-required-multiple-ref.html b/layout/reftests/css-invalid/select/select-required-multiple-ref.html new file mode 100644 index 0000000000..a9477333f8 --- /dev/null +++ b/layout/reftests/css-invalid/select/select-required-multiple-ref.html @@ -0,0 +1,10 @@ + + + + + + + diff --git a/layout/reftests/css-invalid/select/select-required-multiple-still-valid.html b/layout/reftests/css-invalid/select/select-required-multiple-still-valid.html new file mode 100644 index 0000000000..affa854905 --- /dev/null +++ b/layout/reftests/css-invalid/select/select-required-multiple-still-valid.html @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/layout/reftests/css-invalid/select/select-required-multiple-valid.html b/layout/reftests/css-invalid/select/select-required-multiple-valid.html new file mode 100644 index 0000000000..e58e0c576a --- /dev/null +++ b/layout/reftests/css-invalid/select/select-required-multiple-valid.html @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/layout/reftests/css-invalid/select/select-required-ref.html b/layout/reftests/css-invalid/select/select-required-ref.html new file mode 100644 index 0000000000..3c2bde80a0 --- /dev/null +++ b/layout/reftests/css-invalid/select/select-required-ref.html @@ -0,0 +1,9 @@ + + + + + + + diff --git a/layout/reftests/css-invalid/select/select-required-valid.html b/layout/reftests/css-invalid/select/select-required-valid.html new file mode 100644 index 0000000000..e6e4856dc4 --- /dev/null +++ b/layout/reftests/css-invalid/select/select-required-valid.html @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/layout/reftests/css-invalid/select/select-valid.html b/layout/reftests/css-invalid/select/select-valid.html new file mode 100644 index 0000000000..2092f87875 --- /dev/null +++ b/layout/reftests/css-invalid/select/select-valid.html @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/layout/reftests/css-invalid/select/style.css b/layout/reftests/css-invalid/select/style.css new file mode 100644 index 0000000000..5461c6dfb4 --- /dev/null +++ b/layout/reftests/css-invalid/select/style.css @@ -0,0 +1,18 @@ +/* Override default style */ +select:invalid { + box-shadow: none; +} + +select.notinvalid { + background-color: green; +} +select.notinvalid:invalid { + background-color: red; +} + +select.invalid { + background-color: red; +} +select.invalid:invalid { + background-color: green; +} -- cgit v1.2.3