[Webkit-unassigned] [Bug 266399] New: [css-scoping] Implement implicit scoping root when no <scope-start>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 14 03:41:48 PST 2023


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

            Bug ID: 266399
           Summary: [css-scoping] Implement implicit scoping root when no
                    <scope-start>
           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

When the @scope rule doesn't have a <scope-start> prelude, the declaration node is the scoping root.
We should implement this.

"For each element matched by <scope-start>, create a scope using that element as the scoping root. If no <scope-start> is specified, the scoping root is the parent element of the owner node of the stylesheet where the @scope rule is defined. (If no such element exists, then the scoping root is the root of the containing node tree.)"

https://drafts.csswg.org/css-cascade-6/#scope-limits

-- 
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/20231214/b9419d08/attachment.htm>


More information about the webkit-unassigned mailing list