From 6dc704a6c47eed57755281c2ed29e90788736649 Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Mon, 16 May 2022 10:07:10 +0000 Subject: [PATCH] Bug 1768514 [wpt PR 33999] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=240109, a=testonly Automatic update from web-platform-tests WebKit export of https://bugs.webkit.org/show_bug.cgi?id=240109 (#33999) Add tests for `:modal` pseudo class -- wpt-commits: d81f04acd4371d2939c7a30a090c9af913165874 wpt-pr: 33999 --- .../modal-pseudo-class-in-has.html | 44 +++++++++++++++++++ .../the-dialog-element/dialog-show-modal.html | 19 ++++---- 2 files changed, 55 insertions(+), 8 deletions(-) create mode 100644 testing/web-platform/tests/css/selectors/invalidation/modal-pseudo-class-in-has.html diff --git a/testing/web-platform/tests/css/selectors/invalidation/modal-pseudo-class-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/modal-pseudo-class-in-has.html new file mode 100644 index 000000000000..9c487fba16fd --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/modal-pseudo-class-in-has.html @@ -0,0 +1,44 @@ + + +CSS Selectors Invalidation: :modal pseudo class in :has() + + + + + +
+ This is some text. + This is a dialog +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-show-modal.html b/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-show-modal.html index ed643756508c..610e66d20112 100644 --- a/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-show-modal.html +++ b/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/dialog-show-modal.html @@ -10,26 +10,29 @@