Bug 308408

Summary: [Style] Move and rename RenderStyle::isLeftToRightDirection()
Product: WebKit Reporter: Sam Weinig <sam>
Component: CSSAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: Unspecified   
OS: Unspecified   

Sam Weinig
Reported 2026-02-21 17:59:28 PST
The function is easily replaced by its inline form, writingMode().isBidiLTR().
Attachments
Sam Weinig
Comment 1 2026-02-21 18:01:54 PST
Sam Weinig
Comment 2 2026-02-22 17:47:00 PST
Re-purposing to just move/rename RenderStyle::isLeftToRightDirection() to be WritingMode::deprecatedIsLeftToRightDirection(), with an updated explanatory comment.
EWS
Comment 3 2026-02-24 11:58:40 PST
Committed 308145@main (c0b0ec25cf03): <https://commits.webkit.org/308145@main> Reviewed commits have been landed. Closing PR #59183 and removing active labels.
Radar WebKit Bug Importer
Comment 4 2026-02-24 11:59:12 PST
Note You need to log in before you can comment on or make changes to this bug.