From c2dee4f3a531f95a91223fc5f16d2c3791ab413a Mon Sep 17 00:00:00 2001 From: Rune Lillesveen Date: Mon, 17 Apr 2023 15:30:17 -0700 Subject: [PATCH] Move overlay tests for dialog/popover into wpt Also add a test for re-adding dialog elements to the top layer during an overlay transition. https://github.com/whatwg/html/pull/9093 Bug: 1411264 Change-Id: Ic9dcd45cd2224995c1f64a7ae5caa01e788d17ee --- ...alog-overlay-re-add-during-transition.html | 32 ++++++++++++ .../the-dialog-element/dialog-overlay.html | 37 ++++++++++++++ .../the-dialog-element/pass-dialog-ref.html | 9 ++++ html/semantics/popovers/popover-overlay.html | 51 +++++++++++++++++++ 4 files changed, 129 insertions(+) create mode 100644 html/semantics/interactive-elements/the-dialog-element/dialog-overlay-re-add-during-transition.html create mode 100644 html/semantics/interactive-elements/the-dialog-element/dialog-overlay.html create mode 100644 html/semantics/interactive-elements/the-dialog-element/pass-dialog-ref.html create mode 100644 html/semantics/popovers/popover-overlay.html diff --git a/html/semantics/interactive-elements/the-dialog-element/dialog-overlay-re-add-during-transition.html b/html/semantics/interactive-elements/the-dialog-element/dialog-overlay-re-add-during-transition.html new file mode 100644 index 000000000000000..30d104a973a6007 --- /dev/null +++ b/html/semantics/interactive-elements/the-dialog-element/dialog-overlay-re-add-during-transition.html @@ -0,0 +1,32 @@ + + +dialog: close and re-add modal dialog during overlay transition + + + + +PASS +FAIL + + diff --git a/html/semantics/interactive-elements/the-dialog-element/dialog-overlay.html b/html/semantics/interactive-elements/the-dialog-element/dialog-overlay.html new file mode 100644 index 000000000000000..a366f61a355e639 --- /dev/null +++ b/html/semantics/interactive-elements/the-dialog-element/dialog-overlay.html @@ -0,0 +1,37 @@ + +dialog: overlay + + + + + + diff --git a/html/semantics/interactive-elements/the-dialog-element/pass-dialog-ref.html b/html/semantics/interactive-elements/the-dialog-element/pass-dialog-ref.html new file mode 100644 index 000000000000000..6f1a8fde211e874 --- /dev/null +++ b/html/semantics/interactive-elements/the-dialog-element/pass-dialog-ref.html @@ -0,0 +1,9 @@ + +CSS Test Reference + +PASS + diff --git a/html/semantics/popovers/popover-overlay.html b/html/semantics/popovers/popover-overlay.html new file mode 100644 index 000000000000000..a607844aee4f59e --- /dev/null +++ b/html/semantics/popovers/popover-overlay.html @@ -0,0 +1,51 @@ + +popover: overlay + + + + + + + +
+