[webkit-changes] [WebKit/WebKit] f4b48e: Fix isLineInverted to handle sideways-lr correctly
fantasai
noreply at github.com
Thu Jan 2 12:00:26 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f4b48e25beaecc5003f8b62bbbfa34055e7c0e80
https://github.com/WebKit/WebKit/commit/f4b48e25beaecc5003f8b62bbbfa34055e7c0e80
Author: Elika Etemad <fantasai.bugs at inkedblade.net>
Date: 2025-01-02 (Thu, 02 Jan 2025)
Changed paths:
M Source/WebCore/platform/text/WritingMode.h
M Tools/TestWebKitAPI/Tests/WebCore/WritingModeTests.cpp
Log Message:
-----------
Fix isLineInverted to handle sideways-lr correctly
https://bugs.webkit.org/show_bug.cgi?id=285270
rdar://problem/142223524
Reviewed by Tim Nguyen.
Adjusts logic in WritingMode::isLineInverted() to distinguish vertical-lr and
sideways-lr correctly.
* Source/WebCore/platform/text/WritingMode.h:
(WebCore::WritingMode::isLineInverted const): Adjust logic to distinguish vertical-lr and sideways-lr.
* Tools/TestWebKitAPI/Tests/WebCore/WritingModeTests.cpp:
(TestWebKitAPI::TEST(WritingMode, LineQueries)):
Canonical link: https://commits.webkit.org/288371@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list