Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c0b0ec25cf0338a11c947c4efca1f1b30d08cecf
https://github.com/WebKit/WebKit/commit/c0b0ec25cf0338a11c947c4efca1f1b30d08cecf
Author: Sam Weinig <[email protected]>
Date: 2026-02-24 (Tue, 24 Feb 2026)
Changed paths:
M Source/WebCore/editing/Editor.cpp
M Source/WebCore/editing/cocoa/EditingHTMLConverter.mm
M Source/WebCore/html/TextFieldInputType.cpp
M
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp
M Source/WebCore/platform/text/WritingMode.h
M Source/WebCore/rendering/RenderBlockFlowInlines.h
M Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp
M Source/WebCore/rendering/RenderMarquee.cpp
M Source/WebCore/rendering/adwaita/RenderThemeAdwaita.cpp
M Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp
M Source/WebCore/rendering/mathml/RenderMathMLMath.cpp
M Source/WebCore/rendering/style/RenderStyle.h
M Source/WebCore/style/computed/StyleComputedStyleBase.h
M Source/WebKitLegacy/mac/WebView/WebView.mm
Log Message:
-----------
[Style] Move and rename RenderStyle::isLeftToRightDirection()
https://bugs.webkit.org/show_bug.cgi?id=308408
Reviewed by Elika Etemad.
Replaces
RenderStyle::isLeftToRightDirection()/ComputedStyleBase::isLeftToRightDirection()
with a new function on WritingMode called
WritingMode::deprecatedIsLeftToRightDirection().
Also updated the FIXME comment to clarify that the remaining callers need to be
audited
to determine which "is it LTR?" WritingMode predicates is correct for them.
* Source/WebCore/editing/Editor.cpp:
* Source/WebCore/editing/cocoa/EditingHTMLConverter.mm:
* Source/WebCore/html/TextFieldInputType.cpp:
*
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp:
* Source/WebCore/platform/text/WritingMode.h:
* Source/WebCore/rendering/RenderBlockFlowInlines.h:
* Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp:
* Source/WebCore/rendering/RenderMarquee.cpp:
* Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp:
* Source/WebCore/rendering/mathml/RenderMathMLMath.cpp:
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/style/computed/StyleComputedStyleBase.h:
* Source/WebKitLegacy/mac/WebView/WebView.mm:
Canonical link: https://commits.webkit.org/308145@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications