[Webkit-unassigned] [Bug 281976] New: Unexpected @scope match with `:has(:scope /*...*/)`
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 23 08:43:46 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=281976
Bug ID: 281976
Summary: Unexpected @scope match with `:has(:scope /*...*/)`
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dshin at mozilla.com
CC: koivisto at iki.fi
Created attachment 473017
--> https://bugs.webkit.org/attachment.cgi?id=473017&action=review
Minimum Reproducible Case
STR: Load the attached testcase on Safari Technology Preview Release 205 (Safari 18.0, WebKit 20621.1.2.111.4)
Expected behaviour: "What color?" is black
Actual behaviour: It's green
The inner scope's selector is `:has(:scope .baz)`, which implies that a potential inner scope must be an ancestor of `:scope`, which is incompatible with outer scope being the ancestor of the inner scope.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241023/fc5aa28a/attachment.htm>
More information about the webkit-unassigned
mailing list