Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cf37ff474c3125cb99bb3cd96b64ae63c19df197
https://github.com/WebKit/WebKit/commit/cf37ff474c3125cb99bb3cd96b64ae63c19df197
Author: Tim Nguyen <[email protected]>
Date: 2026-02-17 (Tue, 17 Feb 2026)
Changed paths:
M Source/WebCore/style/StyleTreeResolver.cpp
Log Message:
-----------
Make pseudo-element style resolution early exits consistent
https://bugs.webkit.org/show_bug.cgi?id=308049
rdar://170543374
Reviewed by Antti Koivisto.
Move the existing checks out of resolveElement and into resolvePseudoElement.
Also add a comment in resolveElement, since it is often forgotten to add early
exits in irrelevant cases,
leading to a lot of wasted time on performance regressions.
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolveElement):
(WebCore::Style::TreeResolver::resolvePseudoElement):
Canonical link: https://commits.webkit.org/307709@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications