[Webkit-unassigned] [Bug 210419] New: [CSS Selectors] Remove dynamic specificity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 13 02:46:52 PDT 2020


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

            Bug ID: 210419
           Summary: [CSS Selectors] Remove dynamic specificity
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: koivisto at iki.fi

CSS selector specification drafts at some point had a concept of "dynamic specificity" where the specificity of a selector depended on the element it matched. It was only ever used with :matches and :nth-child pseudo classes and has subsequently been removed. Selector specificity can now always be computed statically.

There is a ton of code to support this obsolete feature. It can be removed.

-- 
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/20200413/9aa7723e/attachment.htm>


More information about the webkit-unassigned mailing list