Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7d9b535a65731303029650179df74902e0828281
https://github.com/WebKit/WebKit/commit/7d9b535a65731303029650179df74902e0828281
Author: Tyler Wilcock <[email protected]>
Date: 2026-09-03 (Thu, 03 Sep 2026)
Changed paths:
A
LayoutTests/accessibility/isolated-tree/mac/line-boundary-round-trip-expected.txt
A LayoutTests/accessibility/isolated-tree/mac/line-boundary-round-trip.html
A
LayoutTests/accessibility/isolated-tree/mac/sentence-boundary-round-trip-expected.txt
A
LayoutTests/accessibility/isolated-tree/mac/sentence-boundary-round-trip.html
A
LayoutTests/accessibility/isolated-tree/mac/word-boundary-round-trip-expected.txt
A LayoutTests/accessibility/isolated-tree/mac/word-boundary-round-trip.html
A LayoutTests/accessibility/mac/line-boundary-round-trip-expected.txt
A LayoutTests/accessibility/mac/line-boundary-round-trip.html
A LayoutTests/accessibility/mac/sentence-boundary-round-trip-expected.txt
A LayoutTests/accessibility/mac/sentence-boundary-round-trip.html
A LayoutTests/accessibility/mac/word-boundary-round-trip-expected.txt
A LayoutTests/accessibility/mac/word-boundary-round-trip.html
Log Message:
-----------
AX: Add layout tests for line / sentence / word text marker boundary round
trips
https://bugs.webkit.org/show_bug.cgi?id=323335
rdar://186579669
Reviewed by Chris Fleizach.
Each of these asserts that stepping forward to a unit's end and back to its
start
returns to where it started, from any position inside the unit. The existing
tests
walk one direction and dump what they see, so a drift moving both directions
equally
reads as correct. Each covers a hard line break and a soft wrap, since a line
break of
either kind is what most often moves a boundary.
line-boundary-round-trip.html:
AXNextLineEndTextMarkerForTextMarker and
AXPreviousLineStartTextMarkerForTextMarker
each had tests, but nothing asserted they round-trip. Covers lines broken by a
br element
and lines broken only by wrapping.
word-boundary-round-trip.html:
Same round trip testing for word APIs.
sentence-boundary-round-trip.html:
Same round trip testing for sentence APIs.
*
LayoutTests/accessibility/isolated-tree/mac/line-boundary-round-trip-expected.txt:
Added.
* LayoutTests/accessibility/isolated-tree/mac/line-boundary-round-trip.html:
Added.
*
LayoutTests/accessibility/isolated-tree/mac/sentence-boundary-round-trip-expected.txt:
Added.
*
LayoutTests/accessibility/isolated-tree/mac/sentence-boundary-round-trip.html:
Added.
*
LayoutTests/accessibility/isolated-tree/mac/word-boundary-round-trip-expected.txt:
Added.
* LayoutTests/accessibility/isolated-tree/mac/word-boundary-round-trip.html:
Added.
* LayoutTests/accessibility/mac/line-boundary-round-trip-expected.txt: Added.
* LayoutTests/accessibility/mac/line-boundary-round-trip.html: Added.
* LayoutTests/accessibility/mac/sentence-boundary-round-trip-expected.txt:
Added.
* LayoutTests/accessibility/mac/sentence-boundary-round-trip.html: Added.
* LayoutTests/accessibility/mac/word-boundary-round-trip-expected.txt: Added.
* LayoutTests/accessibility/mac/word-boundary-round-trip.html: Added.
Canonical link: https://commits.webkit.org/320466@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications