From e76e8bc1bfa36270ba4464b524d2ed8e6be0177a Mon Sep 17 00:00:00 2001 From: Mason Freed Date: Sat, 16 Nov 2024 21:54:17 +0000 Subject: [PATCH] Bug 1931620 [wpt PR 49201] - Add dialog light dismiss behavior (the actual click outside part) 5/5, a=testonly Automatic update from web-platform-tests Add dialog light dismiss behavior (the actual click outside part) 5/5 This adds to the prior CLs to actually allow "click outside" to function as a light dismiss trigger. See spec PR for details: https://github.com/whatwg/html/pull/10737 Bug: 376516550 Change-Id: I62158e092de9acac182777f2ad9864e818128907 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6013845 Commit-Queue: David Baron Reviewed-by: David Baron Auto-Submit: Mason Freed Cr-Commit-Position: refs/heads/main@{#1383792} -- wpt-commits: 5420c40fa454adde8aa1e810ddb97ed79fd15c0e wpt-pr: 49201 --- ...og-popover-closedby-complex.tentative.html | 108 ++++++++++++++ ...log-popover-closedby-simple.tentative.html | 138 ++++++++++++++++++ 2 files changed, 246 insertions(+) create mode 100644 testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-popover-closedby-complex.tentative.html create mode 100644 testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-popover-closedby-simple.tentative.html diff --git a/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-popover-closedby-complex.tentative.html b/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-popover-closedby-complex.tentative.html new file mode 100644 index 0000000000000..f254c4d9f7fa2 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-popover-closedby-complex.tentative.html @@ -0,0 +1,108 @@ + + + + + + + + + + + +
Unrelated
+Dialog 1 +
Popover 1 + Dialog 2 +
Popover 2
+
+
+
+ + + + diff --git a/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-popover-closedby-simple.tentative.html b/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-popover-closedby-simple.tentative.html new file mode 100644 index 0000000000000..1658e200bb597 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-popover-closedby-simple.tentative.html @@ -0,0 +1,138 @@ + + + + + + + + + + + +
Unrelated
+Dialog outer +
Popover inner
+
+
Popover outer + Dialog inner +
+ + + +