From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- .../button-type-reset-popovertarget.tentative.html | 43 ++++++++++++++++++ .../popovers/popover-anchor-display.tentative.html | 4 +- .../popover-anchor-scroll-display.tentative.html | 2 +- .../semantics/popovers/popover-light-dismiss.html | 52 ++++++++++++++++++---- .../popovers/popover-top-layer-nesting.html | 45 +++++++++++++++++++ .../popover-top-layer-nesting.tentative.html | 45 ------------------- 6 files changed, 134 insertions(+), 57 deletions(-) create mode 100644 testing/web-platform/tests/html/semantics/popovers/button-type-reset-popovertarget.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/popovers/popover-top-layer-nesting.html delete mode 100644 testing/web-platform/tests/html/semantics/popovers/popover-top-layer-nesting.tentative.html (limited to 'testing/web-platform/tests/html/semantics/popovers') diff --git a/testing/web-platform/tests/html/semantics/popovers/button-type-reset-popovertarget.tentative.html b/testing/web-platform/tests/html/semantics/popovers/button-type-reset-popovertarget.tentative.html new file mode 100644 index 0000000000..975eab0d66 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/popovers/button-type-reset-popovertarget.tentative.html @@ -0,0 +1,43 @@ + + + + + + +
popover
+ + +
+ + + +
+ + + + + + diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display.tentative.html b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display.tentative.html index d50dd6c857..bddc44006d 100644 --- a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display.tentative.html +++ b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-display.tentative.html @@ -94,7 +94,7 @@ showDefaultopenPopoversOnLoad(); top: anchor(top); } #popover5 { - anchor-default: --anchor1; /* shouldn't be used */ + position-anchor: --anchor1; /* shouldn't be used */ left: anchor(implicit right); top: anchor(implicit top); } @@ -102,7 +102,7 @@ showDefaultopenPopoversOnLoad(); anchor-name: --anchor6; } #popover6 { - anchor-default: --anchor6; + position-anchor: --anchor6; left: anchor(right); /* shouldn't use the implicit anchor */ top: anchor(top); } diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-scroll-display.tentative.html b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-scroll-display.tentative.html index 7ed6cf1adf..2c6b0bafb9 100644 --- a/testing/web-platform/tests/html/semantics/popovers/popover-anchor-scroll-display.tentative.html +++ b/testing/web-platform/tests/html/semantics/popovers/popover-anchor-scroll-display.tentative.html @@ -56,7 +56,7 @@ anchor-name: --anchor2; } #popover2 { - anchor-default: --anchor2; + position-anchor: --anchor2; left: anchor(right); top: anchor(top); } diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-light-dismiss.html b/testing/web-platform/tests/html/semantics/popovers/popover-light-dismiss.html index 916d52ef5e..45db242e91 100644 --- a/testing/web-platform/tests/html/semantics/popovers/popover-light-dismiss.html +++ b/testing/web-platform/tests/html/semantics/popovers/popover-light-dismiss.html @@ -11,6 +11,19 @@ + + Outside all popovers @@ -26,11 +39,6 @@ + +
Popover 30
+ + + diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-top-layer-nesting.html b/testing/web-platform/tests/html/semantics/popovers/popover-top-layer-nesting.html new file mode 100644 index 0000000000..a0b3b60b72 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/popovers/popover-top-layer-nesting.html @@ -0,0 +1,45 @@ + + + + + + + + + + + + + +
+
Single popover=auto ancestor +
+
+ +
Single popover=manual ancestor +
+
+ +
Nested popover=auto ancestors +
+
+
+
+ +
Nested popover=auto ancestors, target is outer +
+
+
+
+ +
Top layer inside of nested element +
+ +
+
+
+ + diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-top-layer-nesting.tentative.html b/testing/web-platform/tests/html/semantics/popovers/popover-top-layer-nesting.tentative.html deleted file mode 100644 index a0b3b60b72..0000000000 --- a/testing/web-platform/tests/html/semantics/popovers/popover-top-layer-nesting.tentative.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - -
-
Single popover=auto ancestor -
-
- -
Single popover=manual ancestor -
-
- -
Nested popover=auto ancestors -
-
-
-
- -
Nested popover=auto ancestors, target is outer -
-
-
-
- -
Top layer inside of nested element -
- -
-
-
- - -- cgit v1.2.3