From 871742cc4c5fecd953c6c5d4bcb119f3d2ff34a2 Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Tue, 10 Dec 2024 17:03:30 +0000 Subject: [PATCH] Bug 1935777 [wpt PR 49576] - Remove :closed pseudo-class, a=testonly Automatic update from web-platform-tests Remove :closed pseudo-class This was resolved here: https://github.com/w3c/csswg-drafts/issues/11039#issuecomment-2491673891 Change-Id: Icfe2bbf5a7b87c50a52cedae98021425a5121429 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6049400 Reviewed-by: Tommy Nyquist Auto-Submit: Joey Arhar Commit-Queue: Joey Arhar Reviewed-by: David Baron Cr-Commit-Position: refs/heads/main@{#1393165} -- wpt-commits: cebbe649f588028ec15cf314acc425d77f45da81 wpt-pr: 49576 --- .../pseudo-classes-after-part.html | 1 - ...en-closed-pseudo.html => open-pseudo.html} | 20 +++---------------- ...-light-dismiss-invalidation.tentative.html | 8 ++++---- 3 files changed, 7 insertions(+), 22 deletions(-) rename testing/web-platform/tests/css/selectors/{open-closed-pseudo.html => open-pseudo.html} (63%) diff --git a/testing/web-platform/tests/css/css-shadow-parts/pseudo-classes-after-part.html b/testing/web-platform/tests/css/css-shadow-parts/pseudo-classes-after-part.html index 60292d27a71c2..873df77139876 100644 --- a/testing/web-platform/tests/css/css-shadow-parts/pseudo-classes-after-part.html +++ b/testing/web-platform/tests/css/css-shadow-parts/pseudo-classes-after-part.html @@ -15,7 +15,6 @@ test_valid_selector("::part(mypart):any-link"); test_valid_selector("::part(mypart):autofill"); test_valid_selector("::part(mypart):checked"); -test_valid_selector("::part(mypart):closed"); test_valid_selector("::part(mypart):default"); test_valid_selector("::part(mypart):defined"); test_valid_selector("::part(mypart):dir(ltr)"); diff --git a/testing/web-platform/tests/css/selectors/open-closed-pseudo.html b/testing/web-platform/tests/css/selectors/open-pseudo.html similarity index 63% rename from testing/web-platform/tests/css/selectors/open-closed-pseudo.html rename to testing/web-platform/tests/css/selectors/open-pseudo.html index 9301fd2f41624..0f3b9f3c37966 100644 --- a/testing/web-platform/tests/css/selectors/open-closed-pseudo.html +++ b/testing/web-platform/tests/css/selectors/open-pseudo.html @@ -17,53 +17,39 @@ diff --git a/testing/web-platform/tests/html/semantics/forms/the-select-element/select-pseudo-light-dismiss-invalidation.tentative.html b/testing/web-platform/tests/html/semantics/forms/the-select-element/select-pseudo-light-dismiss-invalidation.tentative.html index c9631d92e1258..749fd8cf27580 100644 --- a/testing/web-platform/tests/html/semantics/forms/the-select-element/select-pseudo-light-dismiss-invalidation.tentative.html +++ b/testing/web-platform/tests/html/semantics/forms/the-select-element/select-pseudo-light-dismiss-invalidation.tentative.html @@ -14,7 +14,7 @@ select { background-color: rgb(0, 0, 255); } -select:closed { +select:not(:open) { background-color: rgb(0, 255, 0); } select:open { @@ -29,7 +29,7 @@