Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 5e59d43836f1c2ce4595b46c66864f52bdcfea9a https://github.com/WebKit/WebKit/commit/5e59d43836f1c2ce4595b46c66864f52bdcfea9a Author: Vitor Roriz <vitor.ro...@apple.com> Date: 2025-08-06 (Wed, 06 Aug 2025)
Changed paths: M Source/WebCore/editing/EditingStyle.cpp M Source/WebCore/editing/EditingStyle.h Log Message: ----------- Refactor EditingStyle::removeStyleFromRulesAndContext into 3 parts https://bugs.webkit.org/show_bug.cgi?id=297016 rdar://157694930 Reviewed by Ryosuke Niwa. This function is too long and can be split into 3 steps. These steps are currently commented, so let's formalize the distinction made by comments by splitting the function into 3 sub-functions. * Source/WebCore/editing/EditingStyle.cpp: (WebCore::EditingStyle::removeInlineStyleRedundantDueToMatchedRules): (WebCore::EditingStyle::removeStyleInContextNotOverridenByMatchedRules): (WebCore::EditingStyle::removeDisplayPropertyFromSpanStyleIfRedundant): (WebCore::EditingStyle::removeStyleFromRulesAndContext): * Source/WebCore/editing/EditingStyle.h: Canonical link: https://commits.webkit.org/298314@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes