[Webkit-unassigned] [Bug 254297] New: StyleRuleGroup should be composited instead of inherited

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 22 16:48:28 PDT 2023


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

            Bug ID: 254297
           Summary: StyleRuleGroup should be composited instead of
                    inherited
           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

Currently, StyleRuleGroup is modeled exactly like CSSGroupingRule (being an intermediate class in the Rule <-> StyleRule hierarchy).

https://w3c.github.io/csswg-drafts/cssom/#the-cssgroupingrule-interface

We should favor composition instead of inheritance in general, and this is also a prerequisite of the CSS Nesting CSSOM implementation.

-- 
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/20230322/14f108ca/attachment.htm>


More information about the webkit-unassigned mailing list