Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: dad3e7e41255b081ac9f3bf7f9ea352ff07ddbca https://github.com/WebKit/WebKit/commit/dad3e7e41255b081ac9f3bf7f9ea352ff07ddbca Author: Antti Koivisto <an...@apple.com> Date: 2023-03-22 (Wed, 22 Mar 2023)
Changed paths: M Source/WebCore/css/CSSProperties.json M Source/WebCore/rendering/style/RenderStyle.cpp Log Message: ----------- Make visibility a fast-path inherited property https://bugs.webkit.org/show_bug.cgi?id=254265 rdar://107049260 Reviewed by Alan Baradlay. We have a fast-path that allow style changes to certain properties (with well-understood dependencies) to be inherited without recomputing the descendant style. Currently it is implemented for 'color'. This patch adds 'visibility'. * Source/WebCore/rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::fastPathInheritFrom): (WebCore::RenderStyle::fastPathInheritedEqual const): (WebCore::RenderStyle::nonFastPathInheritedEqual const): Canonical link: https://commits.webkit.org/261987@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes