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 --- .../inert/dynamic-inert-on-focused-element.html | 72 +++++++++++ .../tests/inert/inert-and-contenteditable.html | 54 ++++++++ .../tests/inert/inert-canvas-fallback-content.html | 74 +++++++++++ .../tests/inert/inert-computed-style.html | 49 +++++++ .../inert-does-not-match-disabled-selector.html | 27 ++++ .../tests/inert/inert-iframe-hittest.html | 101 +++++++++++++++ .../tests/inert/inert-iframe-tabbing.html | 123 ++++++++++++++++++ .../tests/inert/inert-in-shadow-dom.html | 55 ++++++++ .../web-platform/tests/inert/inert-inlines.html | 55 ++++++++ .../tests/inert/inert-label-focus.html | 53 ++++++++ .../tests/inert/inert-node-is-uneditable.html | 41 ++++++ .../tests/inert/inert-node-is-unfocusable.html | 79 +++++++++++ .../tests/inert/inert-node-is-unselectable.html | 20 +++ .../tests/inert/inert-on-non-html.html | 144 +++++++++++++++++++++ .../web-platform/tests/inert/inert-on-slots.html | 57 ++++++++ .../tests/inert/inert-pseudo-element-hittest.html | 65 ++++++++++ .../tests/inert/inert-svg-hittest.html | 70 ++++++++++ .../tests/inert/inert-with-modal-dialog-001.html | 56 ++++++++ .../tests/inert/inert-with-modal-dialog-002.html | 56 ++++++++ 19 files changed, 1251 insertions(+) create mode 100644 testing/web-platform/tests/inert/dynamic-inert-on-focused-element.html create mode 100644 testing/web-platform/tests/inert/inert-and-contenteditable.html create mode 100644 testing/web-platform/tests/inert/inert-canvas-fallback-content.html create mode 100644 testing/web-platform/tests/inert/inert-computed-style.html create mode 100644 testing/web-platform/tests/inert/inert-does-not-match-disabled-selector.html create mode 100644 testing/web-platform/tests/inert/inert-iframe-hittest.html create mode 100644 testing/web-platform/tests/inert/inert-iframe-tabbing.html create mode 100644 testing/web-platform/tests/inert/inert-in-shadow-dom.html create mode 100644 testing/web-platform/tests/inert/inert-inlines.html create mode 100644 testing/web-platform/tests/inert/inert-label-focus.html create mode 100644 testing/web-platform/tests/inert/inert-node-is-uneditable.html create mode 100644 testing/web-platform/tests/inert/inert-node-is-unfocusable.html create mode 100644 testing/web-platform/tests/inert/inert-node-is-unselectable.html create mode 100644 testing/web-platform/tests/inert/inert-on-non-html.html create mode 100644 testing/web-platform/tests/inert/inert-on-slots.html create mode 100644 testing/web-platform/tests/inert/inert-pseudo-element-hittest.html create mode 100644 testing/web-platform/tests/inert/inert-svg-hittest.html create mode 100644 testing/web-platform/tests/inert/inert-with-modal-dialog-001.html create mode 100644 testing/web-platform/tests/inert/inert-with-modal-dialog-002.html (limited to 'testing/web-platform/tests/inert') diff --git a/testing/web-platform/tests/inert/dynamic-inert-on-focused-element.html b/testing/web-platform/tests/inert/dynamic-inert-on-focused-element.html new file mode 100644 index 0000000000..0ddf5a995a --- /dev/null +++ b/testing/web-platform/tests/inert/dynamic-inert-on-focused-element.html @@ -0,0 +1,72 @@ + + +Dynamic inertness on focused element + + + +
+ +
+ +
+ +
+
+ +
+
+ +
+ +
+ +
+
+
+ +
+
+
bar
+
+
+ +
+
+

+ baz +

+
+
+ + + + diff --git a/testing/web-platform/tests/inert/inert-and-contenteditable.html b/testing/web-platform/tests/inert/inert-and-contenteditable.html new file mode 100644 index 0000000000..01091d1736 --- /dev/null +++ b/testing/web-platform/tests/inert/inert-and-contenteditable.html @@ -0,0 +1,54 @@ + + +Inert and contenteditable + + + + + +
+ +
+ {

target

} +
+ +
+ {

target

} +
+ +
+ {

target

} +
+ +
+ {

target

} +
+ + + + diff --git a/testing/web-platform/tests/inert/inert-canvas-fallback-content.html b/testing/web-platform/tests/inert/inert-canvas-fallback-content.html new file mode 100644 index 0000000000..f22549b503 --- /dev/null +++ b/testing/web-platform/tests/inert/inert-canvas-fallback-content.html @@ -0,0 +1,74 @@ + + +Focusability of inert inside canvas + + + + + + +
+ +
+
+ normal `div` +
+ + normal `span` + + + normal `a` + +
+
+
+ `div` in `display: none` +
+ + `span` in `display: none` + + + `a` in `display: none` + +
+
+
+ inert `div` +
+ + inert `span` + + + inert `a` + +
+
+
+ inert `div` in `display: none` +
+ + inert `span` in `display: none` + + + inert `a` in `display: none` + +
+
+ + + diff --git a/testing/web-platform/tests/inert/inert-computed-style.html b/testing/web-platform/tests/inert/inert-computed-style.html new file mode 100644 index 0000000000..3c1748de2b --- /dev/null +++ b/testing/web-platform/tests/inert/inert-computed-style.html @@ -0,0 +1,49 @@ + + +inert isn't hit-testable, but that isn't expose in the computed style + + + + + +
+
+ diff --git a/testing/web-platform/tests/inert/inert-does-not-match-disabled-selector.html b/testing/web-platform/tests/inert/inert-does-not-match-disabled-selector.html new file mode 100644 index 0000000000..74b8ac3f7d --- /dev/null +++ b/testing/web-platform/tests/inert/inert-does-not-match-disabled-selector.html @@ -0,0 +1,27 @@ + + + + + + + + + + + + diff --git a/testing/web-platform/tests/inert/inert-iframe-hittest.html b/testing/web-platform/tests/inert/inert-iframe-hittest.html new file mode 100644 index 0000000000..bcc542d35e --- /dev/null +++ b/testing/web-platform/tests/inert/inert-iframe-hittest.html @@ -0,0 +1,101 @@ + + +Hit-testing with inert iframe + + + + + + + + + +
+ +
+ + diff --git a/testing/web-platform/tests/inert/inert-iframe-tabbing.html b/testing/web-platform/tests/inert/inert-iframe-tabbing.html new file mode 100644 index 0000000000..a0146b74cc --- /dev/null +++ b/testing/web-platform/tests/inert/inert-iframe-tabbing.html @@ -0,0 +1,123 @@ + + +Tabbing with inert iframe + + + + + + + + + +
before
+
+ +
+
after + + diff --git a/testing/web-platform/tests/inert/inert-in-shadow-dom.html b/testing/web-platform/tests/inert/inert-in-shadow-dom.html new file mode 100644 index 0000000000..ec825dbfdc --- /dev/null +++ b/testing/web-platform/tests/inert/inert-in-shadow-dom.html @@ -0,0 +1,55 @@ + + + + + inert on Shadow host affects content in shadow + + + + + +
Buttons 1 and 2 should be inert.
+
+ +
+ + + diff --git a/testing/web-platform/tests/inert/inert-inlines.html b/testing/web-platform/tests/inert/inert-inlines.html new file mode 100644 index 0000000000..b056c6495d --- /dev/null +++ b/testing/web-platform/tests/inert/inert-inlines.html @@ -0,0 +1,55 @@ + + + + + inert inlines + + + + + + + +Click me + +
Click me
+Click me + + + diff --git a/testing/web-platform/tests/inert/inert-label-focus.html b/testing/web-platform/tests/inert/inert-label-focus.html new file mode 100644 index 0000000000..8bbe1eca15 --- /dev/null +++ b/testing/web-platform/tests/inert/inert-label-focus.html @@ -0,0 +1,53 @@ + + + + + inert with label/for + + + + + + + + + + + + +
+ +
+ + + diff --git a/testing/web-platform/tests/inert/inert-node-is-uneditable.html b/testing/web-platform/tests/inert/inert-node-is-uneditable.html new file mode 100644 index 0000000000..23182b937c --- /dev/null +++ b/testing/web-platform/tests/inert/inert-node-is-uneditable.html @@ -0,0 +1,41 @@ + + + + + inert nodes are uneditable + + + + + + + +I'm not editable. +I'm editable. + + + diff --git a/testing/web-platform/tests/inert/inert-node-is-unfocusable.html b/testing/web-platform/tests/inert/inert-node-is-unfocusable.html new file mode 100644 index 0000000000..8b5de37fdc --- /dev/null +++ b/testing/web-platform/tests/inert/inert-node-is-unfocusable.html @@ -0,0 +1,79 @@ + + + + + inert nodes are unfocusable + + + + + + + +
+ + + + +
I'm editable
+ I'm tabindexed.
+ + Link +
+ + + diff --git a/testing/web-platform/tests/inert/inert-node-is-unselectable.html b/testing/web-platform/tests/inert/inert-node-is-unselectable.html new file mode 100644 index 0000000000..b99af0d4cd --- /dev/null +++ b/testing/web-platform/tests/inert/inert-node-is-unselectable.html @@ -0,0 +1,20 @@ + + + + + inert nodes are unselectable + + + + + +
Here is a text node you can't select.
+
I'm selectable.
+ + + diff --git a/testing/web-platform/tests/inert/inert-on-non-html.html b/testing/web-platform/tests/inert/inert-on-non-html.html new file mode 100644 index 0000000000..4d4fdd7059 --- /dev/null +++ b/testing/web-platform/tests/inert/inert-on-non-html.html @@ -0,0 +1,144 @@ + + +'inert' is an HTML attribute and has no effect when used on other elements + + +
+ + + + diff --git a/testing/web-platform/tests/inert/inert-on-slots.html b/testing/web-platform/tests/inert/inert-on-slots.html new file mode 100644 index 0000000000..dd0d7ec6d4 --- /dev/null +++ b/testing/web-platform/tests/inert/inert-on-slots.html @@ -0,0 +1,57 @@ + + + + + inert inside ShadowRoot affects slotted content + + + + + +
Button 1 should be inert, and Button 2 should not be inert.
+
+ + +
+ + + diff --git a/testing/web-platform/tests/inert/inert-pseudo-element-hittest.html b/testing/web-platform/tests/inert/inert-pseudo-element-hittest.html new file mode 100644 index 0000000000..bdba769603 --- /dev/null +++ b/testing/web-platform/tests/inert/inert-pseudo-element-hittest.html @@ -0,0 +1,65 @@ + + +Hit-testing on pseudo elements of inert nodes + + + + + + + +

Manual test: hover the green square, pass if it does not turn red.

+
+ diff --git a/testing/web-platform/tests/inert/inert-svg-hittest.html b/testing/web-platform/tests/inert/inert-svg-hittest.html new file mode 100644 index 0000000000..f743ed25f4 --- /dev/null +++ b/testing/web-platform/tests/inert/inert-svg-hittest.html @@ -0,0 +1,70 @@ + + +Hit-testing with inert SVG + + + + + + + + + +
+
+ + + +
+
+ + diff --git a/testing/web-platform/tests/inert/inert-with-modal-dialog-001.html b/testing/web-platform/tests/inert/inert-with-modal-dialog-001.html new file mode 100644 index 0000000000..aa0c29c733 --- /dev/null +++ b/testing/web-platform/tests/inert/inert-with-modal-dialog-001.html @@ -0,0 +1,56 @@ + + +Interaction of 'inert' attribute with modal dialog + + + +
+
+ wrapper + + dialog + + child + + +
+ + + diff --git a/testing/web-platform/tests/inert/inert-with-modal-dialog-002.html b/testing/web-platform/tests/inert/inert-with-modal-dialog-002.html new file mode 100644 index 0000000000..499ac80d09 --- /dev/null +++ b/testing/web-platform/tests/inert/inert-with-modal-dialog-002.html @@ -0,0 +1,56 @@ + + +Interaction of 'inert' attribute with modal dialog, when the dialog is the root element + + + +
+ + dialog + + child + + + + + -- cgit v1.2.3