From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../autofocus/autofocus-after-body-focus-ref.html | 7 ++++++ .../autofocus/autofocus-after-body-focus.html | 10 +++++++++ .../autofocus/autofocus-after-load-ref.html | 7 ++++++ .../reftests/autofocus/autofocus-after-load.html | 21 +++++++++++++++++ .../autofocus/autofocus-leaves-iframe-ref.html | 17 ++++++++++++++ .../autofocus/autofocus-leaves-iframe.html | 16 +++++++++++++ dom/html/reftests/autofocus/button-create.html | 23 +++++++++++++++++++ dom/html/reftests/autofocus/button-load.html | 13 +++++++++++ dom/html/reftests/autofocus/button-ref.html | 7 ++++++ dom/html/reftests/autofocus/input-create.html | 23 +++++++++++++++++++ dom/html/reftests/autofocus/input-load.html | 13 +++++++++++ dom/html/reftests/autofocus/input-number-ref.html | 17 ++++++++++++++ dom/html/reftests/autofocus/input-number.html | 26 ++++++++++++++++++++++ dom/html/reftests/autofocus/input-ref.html | 7 ++++++ dom/html/reftests/autofocus/input-time-ref.html | 22 ++++++++++++++++++ dom/html/reftests/autofocus/input-time.html | 22 ++++++++++++++++++ dom/html/reftests/autofocus/reftest.list | 13 +++++++++++ dom/html/reftests/autofocus/select-create.html | 23 +++++++++++++++++++ dom/html/reftests/autofocus/select-load.html | 13 +++++++++++ dom/html/reftests/autofocus/select-ref.html | 7 ++++++ dom/html/reftests/autofocus/style.css | 10 +++++++++ dom/html/reftests/autofocus/textarea-create.html | 23 +++++++++++++++++++ dom/html/reftests/autofocus/textarea-load.html | 13 +++++++++++ dom/html/reftests/autofocus/textarea-ref.html | 7 ++++++ 24 files changed, 360 insertions(+) create mode 100644 dom/html/reftests/autofocus/autofocus-after-body-focus-ref.html create mode 100644 dom/html/reftests/autofocus/autofocus-after-body-focus.html create mode 100644 dom/html/reftests/autofocus/autofocus-after-load-ref.html create mode 100644 dom/html/reftests/autofocus/autofocus-after-load.html create mode 100644 dom/html/reftests/autofocus/autofocus-leaves-iframe-ref.html create mode 100644 dom/html/reftests/autofocus/autofocus-leaves-iframe.html create mode 100644 dom/html/reftests/autofocus/button-create.html create mode 100644 dom/html/reftests/autofocus/button-load.html create mode 100644 dom/html/reftests/autofocus/button-ref.html create mode 100644 dom/html/reftests/autofocus/input-create.html create mode 100644 dom/html/reftests/autofocus/input-load.html create mode 100644 dom/html/reftests/autofocus/input-number-ref.html create mode 100644 dom/html/reftests/autofocus/input-number.html create mode 100644 dom/html/reftests/autofocus/input-ref.html create mode 100644 dom/html/reftests/autofocus/input-time-ref.html create mode 100644 dom/html/reftests/autofocus/input-time.html create mode 100644 dom/html/reftests/autofocus/reftest.list create mode 100644 dom/html/reftests/autofocus/select-create.html create mode 100644 dom/html/reftests/autofocus/select-load.html create mode 100644 dom/html/reftests/autofocus/select-ref.html create mode 100644 dom/html/reftests/autofocus/style.css create mode 100644 dom/html/reftests/autofocus/textarea-create.html create mode 100644 dom/html/reftests/autofocus/textarea-load.html create mode 100644 dom/html/reftests/autofocus/textarea-ref.html (limited to 'dom/html/reftests/autofocus') diff --git a/dom/html/reftests/autofocus/autofocus-after-body-focus-ref.html b/dom/html/reftests/autofocus/autofocus-after-body-focus-ref.html new file mode 100644 index 0000000000..3801ed7543 --- /dev/null +++ b/dom/html/reftests/autofocus/autofocus-after-body-focus-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/dom/html/reftests/autofocus/autofocus-after-body-focus.html b/dom/html/reftests/autofocus/autofocus-after-body-focus.html new file mode 100644 index 0000000000..6d43b865a8 --- /dev/null +++ b/dom/html/reftests/autofocus/autofocus-after-body-focus.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/dom/html/reftests/autofocus/autofocus-after-load-ref.html b/dom/html/reftests/autofocus/autofocus-after-load-ref.html new file mode 100644 index 0000000000..f28f06f0f3 --- /dev/null +++ b/dom/html/reftests/autofocus/autofocus-after-load-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/dom/html/reftests/autofocus/autofocus-after-load.html b/dom/html/reftests/autofocus/autofocus-after-load.html new file mode 100644 index 0000000000..753ef183d1 --- /dev/null +++ b/dom/html/reftests/autofocus/autofocus-after-load.html @@ -0,0 +1,21 @@ + + + + + + + diff --git a/dom/html/reftests/autofocus/autofocus-leaves-iframe-ref.html b/dom/html/reftests/autofocus/autofocus-leaves-iframe-ref.html new file mode 100644 index 0000000000..e74e2753dc --- /dev/null +++ b/dom/html/reftests/autofocus/autofocus-leaves-iframe-ref.html @@ -0,0 +1,17 @@ + + + + + + + + + diff --git a/dom/html/reftests/autofocus/autofocus-leaves-iframe.html b/dom/html/reftests/autofocus/autofocus-leaves-iframe.html new file mode 100644 index 0000000000..9069156878 --- /dev/null +++ b/dom/html/reftests/autofocus/autofocus-leaves-iframe.html @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/dom/html/reftests/autofocus/button-create.html b/dom/html/reftests/autofocus/button-create.html new file mode 100644 index 0000000000..ae49d162ad --- /dev/null +++ b/dom/html/reftests/autofocus/button-create.html @@ -0,0 +1,23 @@ + + + + + + + diff --git a/dom/html/reftests/autofocus/button-load.html b/dom/html/reftests/autofocus/button-load.html new file mode 100644 index 0000000000..a9e28e2bb6 --- /dev/null +++ b/dom/html/reftests/autofocus/button-load.html @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/dom/html/reftests/autofocus/button-ref.html b/dom/html/reftests/autofocus/button-ref.html new file mode 100644 index 0000000000..878c8e2681 --- /dev/null +++ b/dom/html/reftests/autofocus/button-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/dom/html/reftests/autofocus/input-create.html b/dom/html/reftests/autofocus/input-create.html new file mode 100644 index 0000000000..c6d0c28089 --- /dev/null +++ b/dom/html/reftests/autofocus/input-create.html @@ -0,0 +1,23 @@ + + + + + + + diff --git a/dom/html/reftests/autofocus/input-load.html b/dom/html/reftests/autofocus/input-load.html new file mode 100644 index 0000000000..d40b49177a --- /dev/null +++ b/dom/html/reftests/autofocus/input-load.html @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/dom/html/reftests/autofocus/input-number-ref.html b/dom/html/reftests/autofocus/input-number-ref.html new file mode 100644 index 0000000000..384915edb8 --- /dev/null +++ b/dom/html/reftests/autofocus/input-number-ref.html @@ -0,0 +1,17 @@ + + + + + + + + + +
+ + + diff --git a/dom/html/reftests/autofocus/input-number.html b/dom/html/reftests/autofocus/input-number.html new file mode 100644 index 0000000000..7816ee9bd9 --- /dev/null +++ b/dom/html/reftests/autofocus/input-number.html @@ -0,0 +1,26 @@ + + + + + + + + + + +
+ + + diff --git a/dom/html/reftests/autofocus/input-ref.html b/dom/html/reftests/autofocus/input-ref.html new file mode 100644 index 0000000000..6e2e546d24 --- /dev/null +++ b/dom/html/reftests/autofocus/input-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/dom/html/reftests/autofocus/input-time-ref.html b/dom/html/reftests/autofocus/input-time-ref.html new file mode 100644 index 0000000000..abaa6feeac --- /dev/null +++ b/dom/html/reftests/autofocus/input-time-ref.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + diff --git a/dom/html/reftests/autofocus/input-time.html b/dom/html/reftests/autofocus/input-time.html new file mode 100644 index 0000000000..a86a91bbfc --- /dev/null +++ b/dom/html/reftests/autofocus/input-time.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + diff --git a/dom/html/reftests/autofocus/reftest.list b/dom/html/reftests/autofocus/reftest.list new file mode 100644 index 0000000000..03ddce4149 --- /dev/null +++ b/dom/html/reftests/autofocus/reftest.list @@ -0,0 +1,13 @@ +needs-focus == input-load.html input-ref.html +needs-focus == input-create.html input-ref.html +needs-focus == input-number.html input-number-ref.html +fuzzy(0-5,0-1) needs-focus == input-time.html input-time-ref.html # One anti-aliased outline corner. +needs-focus == button-load.html button-ref.html +needs-focus == button-create.html button-ref.html +fuzzy-if(gtkWidget,0-18,0-1) needs-focus == textarea-load.html textarea-ref.html # One anti-aliased corner. +needs-focus == textarea-create.html textarea-ref.html +fuzzy-if(Android,0-10,0-5) needs-focus == select-load.html select-ref.html +fuzzy(0-10,0-5) needs-focus == select-create.html select-ref.html +fuzzy(0-1,0-1) needs-focus == autofocus-after-load.html autofocus-after-load-ref.html +needs-focus == autofocus-leaves-iframe.html autofocus-leaves-iframe-ref.html +fuzzy(0-5,0-1) needs-focus == autofocus-after-body-focus.html autofocus-after-body-focus-ref.html diff --git a/dom/html/reftests/autofocus/select-create.html b/dom/html/reftests/autofocus/select-create.html new file mode 100644 index 0000000000..fd9c29c954 --- /dev/null +++ b/dom/html/reftests/autofocus/select-create.html @@ -0,0 +1,23 @@ + + + + + + + diff --git a/dom/html/reftests/autofocus/select-load.html b/dom/html/reftests/autofocus/select-load.html new file mode 100644 index 0000000000..976005bec2 --- /dev/null +++ b/dom/html/reftests/autofocus/select-load.html @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/dom/html/reftests/autofocus/select-ref.html b/dom/html/reftests/autofocus/select-ref.html new file mode 100644 index 0000000000..7fa9cd6559 --- /dev/null +++ b/dom/html/reftests/autofocus/select-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/dom/html/reftests/autofocus/style.css b/dom/html/reftests/autofocus/style.css new file mode 100644 index 0000000000..f0dd5d1498 --- /dev/null +++ b/dom/html/reftests/autofocus/style.css @@ -0,0 +1,10 @@ +:focus { background-color: green; } + +/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1645773 */ +textarea { -moz-appearance: none; } + +/** + * autofocus is considered like a keyboard focus and .focus() isn't. + * We might change that with bug 620056 but for these tests, we don't really care. + */ +::-moz-focus-inner { border: none; } diff --git a/dom/html/reftests/autofocus/textarea-create.html b/dom/html/reftests/autofocus/textarea-create.html new file mode 100644 index 0000000000..e506bb2b72 --- /dev/null +++ b/dom/html/reftests/autofocus/textarea-create.html @@ -0,0 +1,23 @@ + + + + + + + diff --git a/dom/html/reftests/autofocus/textarea-load.html b/dom/html/reftests/autofocus/textarea-load.html new file mode 100644 index 0000000000..13ab2cb2cc --- /dev/null +++ b/dom/html/reftests/autofocus/textarea-load.html @@ -0,0 +1,13 @@ + + + + + + + + diff --git a/dom/html/reftests/autofocus/textarea-ref.html b/dom/html/reftests/autofocus/textarea-ref.html new file mode 100644 index 0000000000..b79bd7abe8 --- /dev/null +++ b/dom/html/reftests/autofocus/textarea-ref.html @@ -0,0 +1,7 @@ + + + + + + + -- cgit v1.2.3