From 06620276ec21ae23d44e6364937d054185ddb662 Mon Sep 17 00:00:00 2001 From: Byungwoo Lee Date: Mon, 16 May 2022 10:16:02 +0000 Subject: [PATCH] Bug 1769191 [wpt PR 34051] - Support invalidation for location pseudo classes inside :has(), a=testonly Automatic update from web-platform-tests Support invalidation for location pseudo classes inside :has() Support invalidation for :link, :any-link and :target pseudo class inside :has(). Invalidation for :visited inside :has() is not needed since :visited is not matched inside :has() to prevent leaking visitedness. Ignored invalidation of :scope inside :has() due to an issue in the csswg-draft. - https://github.com/w3c/csswg-drafts/issues/7211 Bug: 669058, 1324834 Change-Id: Ice42f0113f0cdc69a8054c2778c9cab3cdd5ef10 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3645177 Reviewed-by: Rune Lillesveen Commit-Queue: Byungwoo Lee Cr-Commit-Position: refs/heads/main@{#1003038} -- wpt-commits: 4b68c346624989cf904a632a862fd54520adb1fc wpt-pr: 34051 --- .../invalidation/link-pseudo-in-has.html | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 testing/web-platform/tests/css/selectors/invalidation/link-pseudo-in-has.html diff --git a/testing/web-platform/tests/css/selectors/invalidation/link-pseudo-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/link-pseudo-in-has.html new file mode 100644 index 0000000000000..0ff879768b7da --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/link-pseudo-in-has.html @@ -0,0 +1,97 @@ + + +CSS Selectors Invalidation: :link, :visited :any-link, pseudo-class in :has() argument + + + + + +
+