[webkit-changes] [WebKit/WebKit] a9bf09: Use invalidateStyleInternal() for inline style inv...
Antti Koivisto
noreply at github.com
Fri Jul 7 09:40:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a9bf0991881b653d1701c71298d18eec832c0451
https://github.com/WebKit/WebKit/commit/a9bf0991881b653d1701c71298d18eec832c0451
Author: Antti Koivisto <antti at apple.com>
Date: 2023-07-07 (Fri, 07 Jul 2023)
Changed paths:
M Source/WebCore/dom/StyledElement.cpp
Log Message:
-----------
Use invalidateStyleInternal() for inline style invalidation
https://bugs.webkit.org/show_bug.cgi?id=258970
rdar://111902537
Reviewed by Tim Nguyen.
It is more efficient than invalidateStyle() which has been made obsolete by fine-grained
pseudo-element invalidation.
* Source/WebCore/dom/StyledElement.cpp:
(WebCore::StyledElement::attributeChanged):
(WebCore::StyledElement::styleAttributeChanged):
(WebCore::StyledElement::invalidateStyleAttribute):
Canonical link: https://commits.webkit.org/265847@main
More information about the webkit-changes
mailing list