[Webkit-unassigned] [Bug 233883] New: Use more specific keys for pseudo-class invalidation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 6 10:44:10 PST 2021


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

            Bug ID: 233883
           Summary: Use more specific keys for pseudo-class invalidation
           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

Currently pseudo-class invalidation is keyed on the pseudo-class type only. If we have rule like

.foo:hover { ... }

we end up considering this rule every time any element's :hover state changes, whether it has class 'foo' or not.

We can improve this by keying pseudo-class invalidation more narrowly on type/class or type/id pairs.

-- 
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/20211206/c345ab2d/attachment-0001.htm>


More information about the webkit-unassigned mailing list