From 27233eb2ff7a5ce32b924665c0bc24057b9c7211 Mon Sep 17 00:00:00 2001 From: Mason Freed Date: Wed, 6 Nov 2024 05:31:37 +0000 Subject: [PATCH] Bug 1929347 [wpt PR 48976] - Implement basic structure for dialog light dismiss [1/N], a=testonly Automatic update from web-platform-tests Implement basic structure for dialog light dismiss [1/N] This CL puts the feature flag in place, adds (flag guarded) closedBy and requestClose() methods to , connects the pointer events handling to a new dialog light dismiss method, and adds a basic set of tests. None of the actual functionality is here yet, this is just a shell. Subsequent CLs will flesh out the behavior. See spec PR for details: https://github.com/whatwg/html/pull/10737 Here's the chromestatus: https://chromestatus.com/feature/5097714453577728 Bug: 376516550 Change-Id: I3727ca21476a2a3340fd18597970395d64ef7176 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5985491 Commit-Queue: Mason Freed Reviewed-by: David Baron Cr-Commit-Position: refs/heads/main@{#1378633} -- wpt-commits: 1d5037cc3ff4524fd5d9f1a461afd20aebbb0839 wpt-pr: 48976 --- .../dialog-closedby.tentative.html | 86 +++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-closedby.tentative.html diff --git a/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-closedby.tentative.html b/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-closedby.tentative.html new file mode 100644 index 0000000000000..046ee324a8a26 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-closedby.tentative.html @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +