[Webkit-unassigned] [Bug 265289] New: [css-scoping] Scoped style rules accept relative selector list (relative to :scope)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 23 08:00:56 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=265289

            Bug ID: 265289
           Summary: [css-scoping] Scoped style rules accept relative
                    selector list (relative to :scope)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: m_dubet at apple.com

They accept a <relative-selector-list> as their prelude (rather than just a <selector-list>). Such relative selectors are relative to :scope.

Any selector in the <relative-selector-list> that does not start with a combinator but does contain the nesting selector or the :scope selector, is interpreted as a non-relative selector (but the subject must still be in scope to match).

https://drafts.csswg.org/css-cascade-6/#scoped-style-rules

https://github.com/w3c/csswg-drafts/issues/9621

-- 
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/20231123/b891124e/attachment.htm>


More information about the webkit-unassigned mailing list