Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: afeacf6f4e1ddbd879b07f6864700aae51489422
https://github.com/WebKit/WebKit/commit/afeacf6f4e1ddbd879b07f6864700aae51489422
Author: Sam Weinig <[email protected]>
Date: 2026-02-22 (Sun, 22 Feb 2026)
Changed paths:
M Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations
M Source/WebCore/rendering/TextAutoSizing.cpp
M Source/WebCore/rendering/TextAutoSizing.h
M Source/WebCore/rendering/style/AutosizeStatus.cpp
M Source/WebCore/rendering/style/AutosizeStatus.h
M Source/WebCore/rendering/style/RenderStyle.cpp
M Source/WebCore/rendering/style/RenderStyle.h
M Source/WebCore/style/StyleAdjuster.cpp
M Source/WebCore/style/computed/StyleComputedStyle.cpp
M Source/WebCore/style/computed/StyleComputedStyle.h
M Source/WebCore/style/computed/StyleComputedStyleBase.cpp
M Source/WebCore/style/values/size-adjust/StyleTextSizeAdjust.h
Log Message:
-----------
[Style] Move text autosizing helpers on RenderStyle to more specific owners
https://bugs.webkit.org/show_bug.cgi?id=308397
Reviewed by Darin Adler.
Continues moving things out of RenderStyle.h, this time moving
the the text autosizing helpers.
- hashForTextAutosizing() and equalForTextAutosizing() went to live
directly on TextAutoSizingHashTranslator in TextAutoSizing.cpp
- isIdempotentTextAutosizingCandidate() went to live on AutosizeStatus.
Also took the opportunity to move a few types defined in TextAutoSizing.h
that are only used in TextAutoSizing.cpp, into TextAutoSizing.cpp.
* Source/WebCore/rendering/TextAutoSizing.cpp:
* Source/WebCore/rendering/TextAutoSizing.h:
* Source/WebCore/rendering/style/AutosizeStatus.cpp:
* Source/WebCore/rendering/style/AutosizeStatus.h:
* Source/WebCore/rendering/style/RenderStyle.cpp:
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/style/StyleAdjuster.cpp:
* Source/WebCore/style/computed/StyleComputedStyle.cpp:
* Source/WebCore/style/computed/StyleComputedStyle.h:
* Source/WebCore/style/computed/StyleComputedStyleBase.cpp:
Canonical link: https://commits.webkit.org/308020@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications