Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5e2f8ed9bc169adb88ca7adabf0528f00cf22868
https://github.com/WebKit/WebKit/commit/5e2f8ed9bc169adb88ca7adabf0528f00cf22868
Author: Tyler Wilcock <[email protected]>
Date: 2026-09-04 (Fri, 04 Sep 2026)
Changed paths:
A
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-combining-marks-expected.txt
A
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-combining-marks.html
A
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-hebrew-expected.txt
A LayoutTests/accessibility/isolated-tree/mac/text-marker-index-hebrew.html
A
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-indic-expected.txt
A LayoutTests/accessibility/isolated-tree/mac/text-marker-index-indic.html
A
LayoutTests/accessibility/mac/text-marker-index-combining-marks-expected.txt
A LayoutTests/accessibility/mac/text-marker-index-combining-marks.html
A LayoutTests/accessibility/mac/text-marker-index-hebrew-expected.txt
A LayoutTests/accessibility/mac/text-marker-index-hebrew.html
A LayoutTests/accessibility/mac/text-marker-index-indic-expected.txt
A LayoutTests/accessibility/mac/text-marker-index-indic.html
Log Message:
-----------
AX: Add layout tests for the text marker index space over non-Latin scripts
https://bugs.webkit.org/show_bug.cgi?id=323359
rdar://186602375
Reviewed by Chris Fleizach.
AXIndexForTextMarker and AXTextMarkerForIndex describe a character offset
space, and
checkRoundTripAllTextMarkerIndicesWithinContainer measures two invariants over
it:
1. Every index round-trips through a marker
2. The string from the container start to an index is as long as that index.
Existing bidi and multibyte tests assert the extracted string but use no index
API, so
add tests verifying index-based roundtrips work in these cases.
text-marker-index-hebrew.html:
text-marker-bidi-element-hebrew.html already asserts that mixed Hebrew and
English
comes back in logical order, across six unicode-bidi values. It reads only
stringForTextMarkerRange and boundsForRange, never the index APIs.
text-marker-index-combining-marks.html:
No accessibility test contains a combining mark at all. Two code units per
grapheme
cluster is where an index counting clusters would drift from one counting code
units.
text-marker-index-indic.html:
No accessibility test contains Devanagari or Tamil. A vowel sign renders left
of the
consonant it follows and a virama fuses two consonants, so glyph order and code
unit
order disagree, making it an interesting and novel test.
*
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-combining-marks-expected.txt:
Added.
*
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-combining-marks.html:
Added.
*
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-hebrew-expected.txt:
Added.
* LayoutTests/accessibility/isolated-tree/mac/text-marker-index-hebrew.html:
Added.
*
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-indic-expected.txt:
Added.
* LayoutTests/accessibility/isolated-tree/mac/text-marker-index-indic.html:
Added.
* LayoutTests/accessibility/mac/text-marker-index-combining-marks-expected.txt:
Added.
* LayoutTests/accessibility/mac/text-marker-index-combining-marks.html: Added.
* LayoutTests/accessibility/mac/text-marker-index-hebrew-expected.txt: Added.
* LayoutTests/accessibility/mac/text-marker-index-hebrew.html: Added.
* LayoutTests/accessibility/mac/text-marker-index-indic-expected.txt: Added.
* LayoutTests/accessibility/mac/text-marker-index-indic.html: Added.
Canonical link: https://commits.webkit.org/320508@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications