From 54c65961d0dacec7d9bfd06561bf1bbc0b29a397 Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Mon, 19 Jun 2023 20:14:41 +0000 Subject: [PATCH] Bug 1836565 [wpt PR 40369] - Make ::backdrop stay in top layer while animating out, a=testonly Automatic update from web-platform-tests Make ::backdrop stay in top layer while animating out This patch adds a new internal pseudo class which matches popovers while they are still in the top layer after they have been closed in order to also make the corresponding ::backdrop stay in the top layer. This is based on futhark's patch: https://chromium-review.googlesource.com/c/chromium/src/+/4554016 HTML spec PR: https://github.com/whatwg/html/pull/9387 Fixed: 1449145 Change-Id: I8e4831e960c5d18fb077f023c119fd0e678541df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4585724 Reviewed-by: Mason Freed Commit-Queue: Joey Arhar Cr-Commit-Position: refs/heads/main@{#1158640} -- wpt-commits: 83976e7d1f6a7b175947209736bd40e94a7cae77 wpt-pr: 40369 --- .../overlay-transition-backdrop-entry.html | 25 +++++++++++++++++++ .../overlay/overlay-transition-backdrop.html | 20 +++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 testing/web-platform/tests/css/css-position/overlay/overlay-transition-backdrop-entry.html create mode 100644 testing/web-platform/tests/css/css-position/overlay/overlay-transition-backdrop.html diff --git a/testing/web-platform/tests/css/css-position/overlay/overlay-transition-backdrop-entry.html b/testing/web-platform/tests/css/css-position/overlay/overlay-transition-backdrop-entry.html new file mode 100644 index 0000000000000..89299e3a8ea08 --- /dev/null +++ b/testing/web-platform/tests/css/css-position/overlay/overlay-transition-backdrop-entry.html @@ -0,0 +1,25 @@ + +CSS Position Test: overlay transition with ::backdrop during entry animation + + + + +
+ diff --git a/testing/web-platform/tests/css/css-position/overlay/overlay-transition-backdrop.html b/testing/web-platform/tests/css/css-position/overlay/overlay-transition-backdrop.html new file mode 100644 index 0000000000000..b730e4334659c --- /dev/null +++ b/testing/web-platform/tests/css/css-position/overlay/overlay-transition-backdrop.html @@ -0,0 +1,20 @@ + +CSS Position Test: overlay transition with ::backdrop + + + + +
+