From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- layout/reftests/forms/select/1769580-ref.html | 12 ++ layout/reftests/forms/select/1769580.html | 13 +++ layout/reftests/forms/select/997709-2-ref.html | 4 + layout/reftests/forms/select/997709-2.html | 4 + layout/reftests/forms/select/boguskids-ref.html | 13 +++ layout/reftests/forms/select/boguskids.html | 18 +++ .../reftests/forms/select/dynamic-boguskids.html | 31 +++++ .../forms/select/dynamic-text-indent-1-ref.html | 4 + .../forms/select/dynamic-text-indent-1.html | 14 +++ .../forms/select/dynamic-text-overflow-1-ref.html | 4 + .../forms/select/dynamic-text-overflow-1.html | 14 +++ layout/reftests/forms/select/focusring-1-ref.html | 37 ++++++ layout/reftests/forms/select/focusring-1.html | 41 +++++++ layout/reftests/forms/select/focusring-2-ref.html | 22 ++++ layout/reftests/forms/select/focusring-2.html | 46 ++++++++ .../forms/select/intrinsic-size-scrollbar.html | 2 + .../forms/select/listbox-checked-style-notref.html | 11 ++ .../forms/select/listbox-checked-style-ref.html | 11 ++ .../forms/select/listbox-checked-style.html | 11 ++ .../forms/select/listbox-focus-notref.html | 13 +++ layout/reftests/forms/select/listbox-focus.html | 13 +++ .../forms/select/listbox-zero-row-initial-ref.html | 23 ++++ .../forms/select/listbox-zero-row-initial.html | 14 +++ layout/reftests/forms/select/multiple-ref.html | 12 ++ layout/reftests/forms/select/multiple.html | 12 ++ layout/reftests/forms/select/no-padding-ref.html | 2 + layout/reftests/forms/select/no-padding.html | 2 + .../reftests/forms/select/option-children-ref.html | 5 + layout/reftests/forms/select/option-children.html | 11 ++ .../select/out-of-bounds-selectedindex-ref.html | 112 ++++++++++++++++++ .../forms/select/out-of-bounds-selectedindex.html | 129 +++++++++++++++++++++ .../forms/select/padding-button-placement-ref.html | 10 ++ .../forms/select/padding-button-placement.html | 15 +++ layout/reftests/forms/select/reftest.list | 30 +++++ ...select-option-display-none-inline-size-ref.html | 18 +++ .../select-option-display-none-inline-size.html | 23 ++++ .../forms/select/select-scrollbar-width-ref.html | 2 + .../forms/select/select-scrollbar-width.html | 2 + .../select/themed-select-padding-no-clip-ref.html | 37 ++++++ .../select/themed-select-padding-no-clip.html | 26 +++++ .../forms/select/vertical-centering-ref.html | 20 ++++ .../reftests/forms/select/vertical-centering.html | 18 +++ 42 files changed, 861 insertions(+) create mode 100644 layout/reftests/forms/select/1769580-ref.html create mode 100644 layout/reftests/forms/select/1769580.html create mode 100644 layout/reftests/forms/select/997709-2-ref.html create mode 100644 layout/reftests/forms/select/997709-2.html create mode 100644 layout/reftests/forms/select/boguskids-ref.html create mode 100644 layout/reftests/forms/select/boguskids.html create mode 100644 layout/reftests/forms/select/dynamic-boguskids.html create mode 100644 layout/reftests/forms/select/dynamic-text-indent-1-ref.html create mode 100644 layout/reftests/forms/select/dynamic-text-indent-1.html create mode 100644 layout/reftests/forms/select/dynamic-text-overflow-1-ref.html create mode 100644 layout/reftests/forms/select/dynamic-text-overflow-1.html create mode 100644 layout/reftests/forms/select/focusring-1-ref.html create mode 100644 layout/reftests/forms/select/focusring-1.html create mode 100644 layout/reftests/forms/select/focusring-2-ref.html create mode 100644 layout/reftests/forms/select/focusring-2.html create mode 100644 layout/reftests/forms/select/intrinsic-size-scrollbar.html create mode 100644 layout/reftests/forms/select/listbox-checked-style-notref.html create mode 100644 layout/reftests/forms/select/listbox-checked-style-ref.html create mode 100644 layout/reftests/forms/select/listbox-checked-style.html create mode 100644 layout/reftests/forms/select/listbox-focus-notref.html create mode 100644 layout/reftests/forms/select/listbox-focus.html create mode 100644 layout/reftests/forms/select/listbox-zero-row-initial-ref.html create mode 100644 layout/reftests/forms/select/listbox-zero-row-initial.html create mode 100644 layout/reftests/forms/select/multiple-ref.html create mode 100644 layout/reftests/forms/select/multiple.html create mode 100644 layout/reftests/forms/select/no-padding-ref.html create mode 100644 layout/reftests/forms/select/no-padding.html create mode 100644 layout/reftests/forms/select/option-children-ref.html create mode 100644 layout/reftests/forms/select/option-children.html create mode 100644 layout/reftests/forms/select/out-of-bounds-selectedindex-ref.html create mode 100644 layout/reftests/forms/select/out-of-bounds-selectedindex.html create mode 100644 layout/reftests/forms/select/padding-button-placement-ref.html create mode 100644 layout/reftests/forms/select/padding-button-placement.html create mode 100644 layout/reftests/forms/select/reftest.list create mode 100644 layout/reftests/forms/select/select-option-display-none-inline-size-ref.html create mode 100644 layout/reftests/forms/select/select-option-display-none-inline-size.html create mode 100644 layout/reftests/forms/select/select-scrollbar-width-ref.html create mode 100644 layout/reftests/forms/select/select-scrollbar-width.html create mode 100644 layout/reftests/forms/select/themed-select-padding-no-clip-ref.html create mode 100644 layout/reftests/forms/select/themed-select-padding-no-clip.html create mode 100644 layout/reftests/forms/select/vertical-centering-ref.html create mode 100644 layout/reftests/forms/select/vertical-centering.html (limited to 'layout/reftests/forms/select') diff --git a/layout/reftests/forms/select/1769580-ref.html b/layout/reftests/forms/select/1769580-ref.html new file mode 100644 index 0000000000..e6a4cb6577 --- /dev/null +++ b/layout/reftests/forms/select/1769580-ref.html @@ -0,0 +1,12 @@ + + + diff --git a/layout/reftests/forms/select/1769580.html b/layout/reftests/forms/select/1769580.html new file mode 100644 index 0000000000..00831f6997 --- /dev/null +++ b/layout/reftests/forms/select/1769580.html @@ -0,0 +1,13 @@ + + + diff --git a/layout/reftests/forms/select/997709-2-ref.html b/layout/reftests/forms/select/997709-2-ref.html new file mode 100644 index 0000000000..349abe0b77 --- /dev/null +++ b/layout/reftests/forms/select/997709-2-ref.html @@ -0,0 +1,4 @@ + + + + diff --git a/layout/reftests/forms/select/997709-2.html b/layout/reftests/forms/select/997709-2.html new file mode 100644 index 0000000000..46be454185 --- /dev/null +++ b/layout/reftests/forms/select/997709-2.html @@ -0,0 +1,4 @@ + + + + diff --git a/layout/reftests/forms/select/boguskids-ref.html b/layout/reftests/forms/select/boguskids-ref.html new file mode 100644 index 0000000000..905b646493 --- /dev/null +++ b/layout/reftests/forms/select/boguskids-ref.html @@ -0,0 +1,13 @@ + + + + + + diff --git a/layout/reftests/forms/select/boguskids.html b/layout/reftests/forms/select/boguskids.html new file mode 100644 index 0000000000..102f820c84 --- /dev/null +++ b/layout/reftests/forms/select/boguskids.html @@ -0,0 +1,18 @@ + + + + + + diff --git a/layout/reftests/forms/select/dynamic-boguskids.html b/layout/reftests/forms/select/dynamic-boguskids.html new file mode 100644 index 0000000000..2a6b7c2614 --- /dev/null +++ b/layout/reftests/forms/select/dynamic-boguskids.html @@ -0,0 +1,31 @@ + + + + + + + + + diff --git a/layout/reftests/forms/select/dynamic-text-indent-1-ref.html b/layout/reftests/forms/select/dynamic-text-indent-1-ref.html new file mode 100644 index 0000000000..806fc525a0 --- /dev/null +++ b/layout/reftests/forms/select/dynamic-text-indent-1-ref.html @@ -0,0 +1,4 @@ + + diff --git a/layout/reftests/forms/select/dynamic-text-indent-1.html b/layout/reftests/forms/select/dynamic-text-indent-1.html new file mode 100644 index 0000000000..6f2b5f3448 --- /dev/null +++ b/layout/reftests/forms/select/dynamic-text-indent-1.html @@ -0,0 +1,14 @@ + + + + + diff --git a/layout/reftests/forms/select/dynamic-text-overflow-1-ref.html b/layout/reftests/forms/select/dynamic-text-overflow-1-ref.html new file mode 100644 index 0000000000..8de69cf5cc --- /dev/null +++ b/layout/reftests/forms/select/dynamic-text-overflow-1-ref.html @@ -0,0 +1,4 @@ + + diff --git a/layout/reftests/forms/select/dynamic-text-overflow-1.html b/layout/reftests/forms/select/dynamic-text-overflow-1.html new file mode 100644 index 0000000000..4d954f6981 --- /dev/null +++ b/layout/reftests/forms/select/dynamic-text-overflow-1.html @@ -0,0 +1,14 @@ + + + + + diff --git a/layout/reftests/forms/select/focusring-1-ref.html b/layout/reftests/forms/select/focusring-1-ref.html new file mode 100644 index 0000000000..9f01908fd5 --- /dev/null +++ b/layout/reftests/forms/select/focusring-1-ref.html @@ -0,0 +1,37 @@ + + + + Testcase #1 for bug 1253977 + + + + + + + + + + + diff --git a/layout/reftests/forms/select/focusring-1.html b/layout/reftests/forms/select/focusring-1.html new file mode 100644 index 0000000000..e384bd4097 --- /dev/null +++ b/layout/reftests/forms/select/focusring-1.html @@ -0,0 +1,41 @@ + + + + Testcase #1 for bug 1253977 + + + + + + + + + + + diff --git a/layout/reftests/forms/select/focusring-2-ref.html b/layout/reftests/forms/select/focusring-2-ref.html new file mode 100644 index 0000000000..c7c16a5e5e --- /dev/null +++ b/layout/reftests/forms/select/focusring-2-ref.html @@ -0,0 +1,22 @@ + + + + Testcase #2 for bug 1253977 + + + + + + + + diff --git a/layout/reftests/forms/select/focusring-2.html b/layout/reftests/forms/select/focusring-2.html new file mode 100644 index 0000000000..e2656b2485 --- /dev/null +++ b/layout/reftests/forms/select/focusring-2.html @@ -0,0 +1,46 @@ + + + + Testcase #2 for bug 1253977 + + + + + + + + + + diff --git a/layout/reftests/forms/select/intrinsic-size-scrollbar.html b/layout/reftests/forms/select/intrinsic-size-scrollbar.html new file mode 100644 index 0000000000..091bd989c5 --- /dev/null +++ b/layout/reftests/forms/select/intrinsic-size-scrollbar.html @@ -0,0 +1,2 @@ + + diff --git a/layout/reftests/forms/select/listbox-checked-style-notref.html b/layout/reftests/forms/select/listbox-checked-style-notref.html new file mode 100644 index 0000000000..3b78fbac50 --- /dev/null +++ b/layout/reftests/forms/select/listbox-checked-style-notref.html @@ -0,0 +1,11 @@ + + + diff --git a/layout/reftests/forms/select/listbox-checked-style-ref.html b/layout/reftests/forms/select/listbox-checked-style-ref.html new file mode 100644 index 0000000000..c48bc81225 --- /dev/null +++ b/layout/reftests/forms/select/listbox-checked-style-ref.html @@ -0,0 +1,11 @@ + + + diff --git a/layout/reftests/forms/select/listbox-checked-style.html b/layout/reftests/forms/select/listbox-checked-style.html new file mode 100644 index 0000000000..1eb33817f6 --- /dev/null +++ b/layout/reftests/forms/select/listbox-checked-style.html @@ -0,0 +1,11 @@ + + + diff --git a/layout/reftests/forms/select/listbox-focus-notref.html b/layout/reftests/forms/select/listbox-focus-notref.html new file mode 100644 index 0000000000..d76865abbf --- /dev/null +++ b/layout/reftests/forms/select/listbox-focus-notref.html @@ -0,0 +1,13 @@ + + + diff --git a/layout/reftests/forms/select/listbox-focus.html b/layout/reftests/forms/select/listbox-focus.html new file mode 100644 index 0000000000..0689ed43b8 --- /dev/null +++ b/layout/reftests/forms/select/listbox-focus.html @@ -0,0 +1,13 @@ + + + diff --git a/layout/reftests/forms/select/listbox-zero-row-initial-ref.html b/layout/reftests/forms/select/listbox-zero-row-initial-ref.html new file mode 100644 index 0000000000..e7b2ec673a --- /dev/null +++ b/layout/reftests/forms/select/listbox-zero-row-initial-ref.html @@ -0,0 +1,23 @@ + +Reference for initial reflow of zero height options + + + + + diff --git a/layout/reftests/forms/select/listbox-zero-row-initial.html b/layout/reftests/forms/select/listbox-zero-row-initial.html new file mode 100644 index 0000000000..1ff6549da2 --- /dev/null +++ b/layout/reftests/forms/select/listbox-zero-row-initial.html @@ -0,0 +1,14 @@ + +Testcase for initial reflow of zero height options + + + diff --git a/layout/reftests/forms/select/multiple-ref.html b/layout/reftests/forms/select/multiple-ref.html new file mode 100644 index 0000000000..70bdac6bc3 --- /dev/null +++ b/layout/reftests/forms/select/multiple-ref.html @@ -0,0 +1,12 @@ + + + + + + diff --git a/layout/reftests/forms/select/multiple.html b/layout/reftests/forms/select/multiple.html new file mode 100644 index 0000000000..6b95eebc56 --- /dev/null +++ b/layout/reftests/forms/select/multiple.html @@ -0,0 +1,12 @@ + + + + + + diff --git a/layout/reftests/forms/select/no-padding-ref.html b/layout/reftests/forms/select/no-padding-ref.html new file mode 100644 index 0000000000..6ba141c627 --- /dev/null +++ b/layout/reftests/forms/select/no-padding-ref.html @@ -0,0 +1,2 @@ + + diff --git a/layout/reftests/forms/select/no-padding.html b/layout/reftests/forms/select/no-padding.html new file mode 100644 index 0000000000..8784b7b750 --- /dev/null +++ b/layout/reftests/forms/select/no-padding.html @@ -0,0 +1,2 @@ + + diff --git a/layout/reftests/forms/select/option-children-ref.html b/layout/reftests/forms/select/option-children-ref.html new file mode 100644 index 0000000000..09f6d19f09 --- /dev/null +++ b/layout/reftests/forms/select/option-children-ref.html @@ -0,0 +1,5 @@ + + +Option elements with children + + diff --git a/layout/reftests/forms/select/option-children.html b/layout/reftests/forms/select/option-children.html new file mode 100644 index 0000000000..357247b567 --- /dev/null +++ b/layout/reftests/forms/select/option-children.html @@ -0,0 +1,11 @@ + + +Option elements with children + + diff --git a/layout/reftests/forms/select/out-of-bounds-selectedindex-ref.html b/layout/reftests/forms/select/out-of-bounds-selectedindex-ref.html new file mode 100644 index 0000000000..4130241765 --- /dev/null +++ b/layout/reftests/forms/select/out-of-bounds-selectedindex-ref.html @@ -0,0 +1,112 @@ + +Testcase for bug 471741 + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ +
Result: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0 0 -1 -1
+ + + + diff --git a/layout/reftests/forms/select/out-of-bounds-selectedindex.html b/layout/reftests/forms/select/out-of-bounds-selectedindex.html new file mode 100644 index 0000000000..4ae9ed06b6 --- /dev/null +++ b/layout/reftests/forms/select/out-of-bounds-selectedindex.html @@ -0,0 +1,129 @@ + +Testcase for bug 471741 + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + +
+ +
+ + + + diff --git a/layout/reftests/forms/select/padding-button-placement-ref.html b/layout/reftests/forms/select/padding-button-placement-ref.html new file mode 100644 index 0000000000..342b404c6d --- /dev/null +++ b/layout/reftests/forms/select/padding-button-placement-ref.html @@ -0,0 +1,10 @@ + + + + + + +
+
+ + diff --git a/layout/reftests/forms/select/padding-button-placement.html b/layout/reftests/forms/select/padding-button-placement.html new file mode 100644 index 0000000000..3707150321 --- /dev/null +++ b/layout/reftests/forms/select/padding-button-placement.html @@ -0,0 +1,15 @@ + + + + + + + + +
+
+ +
+
+ + diff --git a/layout/reftests/forms/select/reftest.list b/layout/reftests/forms/select/reftest.list new file mode 100644 index 0000000000..350a3bc089 --- /dev/null +++ b/layout/reftests/forms/select/reftest.list @@ -0,0 +1,30 @@ +fuzzy-if(Android,0-4,0-12) == out-of-bounds-selectedindex.html out-of-bounds-selectedindex-ref.html # test for bug 471741 +== multiple.html multiple-ref.html +== boguskids.html boguskids-ref.html +== dynamic-boguskids.html boguskids-ref.html +== option-children.html option-children-ref.html +fuzzy(0-1,0-4) == padding-button-placement.html padding-button-placement-ref.html +== vertical-centering.html vertical-centering-ref.html +== 997709-2.html 997709-2-ref.html +fuzzy(0-4,0-1) needs-focus == focusring-1.html focusring-1-ref.html +needs-focus == focusring-2.html focusring-2-ref.html +== dynamic-text-indent-1.html dynamic-text-indent-1-ref.html +== dynamic-text-overflow-1.html dynamic-text-overflow-1-ref.html +== listbox-zero-row-initial.html listbox-zero-row-initial-ref.html +skip-if(Android) == select-option-display-none-inline-size.html select-option-display-none-inline-size-ref.html + +# Android and Windows actually use the anonymous select > button (rather than +# drawing the arrow as a background like Linux and Mac), so most of this test +# doesn't apply since when over-constrained it gets zero-sized. +skip-if(Android||winWidget) == themed-select-padding-no-clip.html themed-select-padding-no-clip-ref.html + +== select-scrollbar-width.html select-scrollbar-width-ref.html +test-pref(ui.useOverlayScrollbars,0) ref-pref(ui.useOverlayScrollbars,1) == intrinsic-size-scrollbar.html intrinsic-size-scrollbar.html + +== listbox-checked-style.html listbox-checked-style-ref.html +needs-focus != listbox-checked-style.html listbox-checked-style-notref.html +needs-focus != listbox-focus.html listbox-focus-notref.html + +== 1769580.html 1769580-ref.html + +== no-padding.html no-padding-ref.html diff --git a/layout/reftests/forms/select/select-option-display-none-inline-size-ref.html b/layout/reftests/forms/select/select-option-display-none-inline-size-ref.html new file mode 100644 index 0000000000..c10490b0e8 --- /dev/null +++ b/layout/reftests/forms/select/select-option-display-none-inline-size-ref.html @@ -0,0 +1,18 @@ + + + + + Reference: SELECT size with display:none OPTION + + + + + + + + + + diff --git a/layout/reftests/forms/select/select-option-display-none-inline-size.html b/layout/reftests/forms/select/select-option-display-none-inline-size.html new file mode 100644 index 0000000000..ece010df4c --- /dev/null +++ b/layout/reftests/forms/select/select-option-display-none-inline-size.html @@ -0,0 +1,23 @@ + + + + + Test: SELECT size with display:none OPTION + + + + + + + + + + + diff --git a/layout/reftests/forms/select/select-scrollbar-width-ref.html b/layout/reftests/forms/select/select-scrollbar-width-ref.html new file mode 100644 index 0000000000..1a411340f8 --- /dev/null +++ b/layout/reftests/forms/select/select-scrollbar-width-ref.html @@ -0,0 +1,2 @@ + + diff --git a/layout/reftests/forms/select/select-scrollbar-width.html b/layout/reftests/forms/select/select-scrollbar-width.html new file mode 100644 index 0000000000..fb2b627a83 --- /dev/null +++ b/layout/reftests/forms/select/select-scrollbar-width.html @@ -0,0 +1,2 @@ + + diff --git a/layout/reftests/forms/select/themed-select-padding-no-clip-ref.html b/layout/reftests/forms/select/themed-select-padding-no-clip-ref.html new file mode 100644 index 0000000000..d8f5fd7b43 --- /dev/null +++ b/layout/reftests/forms/select/themed-select-padding-no-clip-ref.html @@ -0,0 +1,37 @@ + +Bug 1561794 - padding-inline-end does not clip display text for themed comboboxes. + + + + + + + + + +
XXXXXXXXXX
+ + + + diff --git a/layout/reftests/forms/select/themed-select-padding-no-clip.html b/layout/reftests/forms/select/themed-select-padding-no-clip.html new file mode 100644 index 0000000000..d353ecc871 --- /dev/null +++ b/layout/reftests/forms/select/themed-select-padding-no-clip.html @@ -0,0 +1,26 @@ + +Bug 1561794 - padding-inline-end does not clip display text for themed comboboxes. + + + + + + + + + + + + diff --git a/layout/reftests/forms/select/vertical-centering-ref.html b/layout/reftests/forms/select/vertical-centering-ref.html new file mode 100644 index 0000000000..82bbb7d3d0 --- /dev/null +++ b/layout/reftests/forms/select/vertical-centering-ref.html @@ -0,0 +1,20 @@ + + + diff --git a/layout/reftests/forms/select/vertical-centering.html b/layout/reftests/forms/select/vertical-centering.html new file mode 100644 index 0000000000..fb464395d5 --- /dev/null +++ b/layout/reftests/forms/select/vertical-centering.html @@ -0,0 +1,18 @@ + + + -- cgit v1.2.3