Created attachment 460411 [details] Reproduction Example The `@supports selector ()` fails for shadow DOM pseudo element tests. An example for supported shadow DOM pseudo element styling is `input::placeholder { color: orchid }`. Therefore the expected behaviour would be that `@supports selector(input::placeholder) {` matches. Furthermore the expected behaviour would also be that `@supports not selector(input::placeholder) {` does NOT match. Instead the current behaviour is that `@supports selector(input::placeholder) {` does NOT match. In addition the current behaviour is also that `@supports not selector(input::placeholder) {` does match. This behaviour can be reproduced on different Safari versions: - iOS 15.5 Safari - MacOS Safari Version 15.5 (17613.2.7.1.8) - MacOS Safari Technology Preview Release 146 (Safari 15.4, WebKit 17614.1.14.10.6) Current Firefox and Chrome versions behave correctly. Please see the attached reproduction example.
<rdar://problem/95683424>
Oh, this is nothing to do with Shadow DOM.
WPT PR is at: https://github.com/web-platform-tests/wpt/pull/36410
*** Bug 254682 has been marked as a duplicate of this bug. ***
Joonghun, any update on this?
(In reply to Tim Nguyen (:ntim) from comment #5) > Joonghun, any update on this? I'm sorry for the delay. I made a patch and uploaded it to https://github.com/WebKit/WebKit/pull/13879. Please refer to it.
Committed 264090@main (61a3212d56ea): <https://commits.webkit.org/264090@main> Reviewed commits have been landed. Closing PR #13879 and removing active labels.