:active-view-transition{-type} should only match the document element
The check for this before used the wrong check for "IsA".
Amended existing test which erroneously allowed
html:has(active-view-transition).
Spec:
https://drafts.csswg.org/css-view-transitions-2/#the-active-view-transition-pseudo
https://drafts.csswg.org/css-view-transitions-2/#the-active-view-transition-type-pseudo
Bug: 358151306
Change-Id: I131f9c450af962e98d1a50e9e11723dbfeabe404
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5776882
Reviewed-by: Khushal Sagar khushalsagar@chromium.org
Commit-Queue: Noam Rosenthal nrosenthal@chromium.org
Cr-Commit-Position: refs/heads/main@{#1340419}