Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a0a311aec9bb8de9bb207a8deceee5739c0c7dc3
https://github.com/WebKit/WebKit/commit/a0a311aec9bb8de9bb207a8deceee5739c0c7dc3
Author: Dominic Mazzoni <[email protected]>
Date: 2026-09-20 (Sun, 20 Sep 2026)
Changed paths:
A
LayoutTests/accessibility/isolated-tree/mac/line-ranges-tile-with-line-break-after-white-space-expected.txt
A
LayoutTests/accessibility/isolated-tree/mac/line-ranges-tile-with-line-break-after-white-space.html
A
LayoutTests/accessibility/mac/line-ranges-tile-with-line-break-after-white-space-expected.txt
A
LayoutTests/accessibility/mac/line-ranges-tile-with-line-break-after-white-space.html
M Source/WebCore/accessibility/AccessibilityObject.cpp
Log Message:
-----------
AX: AXLineTextMarkerRangeForTextMarker returns wrong range with CSS
line-break: after-white-space;
https://bugs.webkit.org/show_bug.cgi?id=324635
rdar://186478651
Reviewed by Tyler Wilcock.
With line-break: after-white-space, the start of the next line might be the
same offset with
downstream affinity.
Tests:
accessibility/isolated-tree/mac/line-ranges-tile-with-line-break-after-white-space.html
accessibility/mac/line-ranges-tile-with-line-break-after-white-space.html
*
LayoutTests/accessibility/isolated-tree/mac/line-ranges-tile-with-line-break-after-white-space-expected.txt:
Added.
*
LayoutTests/accessibility/isolated-tree/mac/line-ranges-tile-with-line-break-after-white-space.html:
Added.
*
LayoutTests/accessibility/mac/line-ranges-tile-with-line-break-after-white-space-expected.txt:
Added.
*
LayoutTests/accessibility/mac/line-ranges-tile-with-line-break-after-white-space.html:
Added.
* Source/WebCore/accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::lineRangeForPosition const):
Canonical link: https://commits.webkit.org/321485@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications