Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9977e3c2b4c81fbf2aecf8b7762cb9bea1322b9c
      
https://github.com/WebKit/WebKit/commit/9977e3c2b4c81fbf2aecf8b7762cb9bea1322b9c
  Author: Tyler Wilcock <[email protected]>
  Date:   2026-09-04 (Fri, 04 Sep 2026)

  Changed paths:
    A 
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-regional-indicators-expected.txt
    A 
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-regional-indicators.html
    A 
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-variation-selector-expected.txt
    A 
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-variation-selector.html
    A 
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-zwj-sequence-expected.txt
    A 
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-zwj-sequence.html
    A 
LayoutTests/accessibility/mac/text-marker-index-regional-indicators-expected.txt
    A LayoutTests/accessibility/mac/text-marker-index-regional-indicators.html
    A 
LayoutTests/accessibility/mac/text-marker-index-variation-selector-expected.txt
    A LayoutTests/accessibility/mac/text-marker-index-variation-selector.html
    A LayoutTests/accessibility/mac/text-marker-index-zwj-sequence-expected.txt
    A LayoutTests/accessibility/mac/text-marker-index-zwj-sequence.html

  Log Message:
  -----------
  AX: Add layout tests for the text marker index space over emoji and invisible 
characters
https://bugs.webkit.org/show_bug.cgi?id=323360
rdar://186603195

Reviewed by Chris Fleizach.

bounds-for-range-multibyte-glyphs.html already captures the code unit span of a 
joined
emoji and a variation-selector emoji, by asserting the rect boundsForRange 
returns for
each. It never reads the string and never uses the index APIs, so what is new 
below is
the index round trip and the presence of the invisible characters themselves.

text-marker-index-regional-indicators.html:
No accessibility test contains a regional indicator. A flag is four code units 
and two
code points in one glyph, stressing surrogate pairs and cluster boundaries 
together.

text-marker-index-zwj-sequence.html:
Asserts the zero width joiner survives into the accessibility text at its own 
index.
The bounds test shows an eleven code unit span is treated as one glyph but 
cannot show
the joiner is still in the string. Without it, an assistive technology 
reconstructing
the sequence from character offsets gets two unrelated emoji.

text-marker-index-variation-selector.html:
Same for a variation selector, which is invisible and only changes how the 
preceding
character is drawn. Asserting its code point is the only way to tell it was 
preserved
rather than folded into the character it modifies.

* 
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-regional-indicators-expected.txt:
 Added.
* 
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-regional-indicators.html:
 Added.
* 
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-variation-selector-expected.txt:
 Added.
* 
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-variation-selector.html:
 Added.
* 
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-zwj-sequence-expected.txt:
 Added.
* 
LayoutTests/accessibility/isolated-tree/mac/text-marker-index-zwj-sequence.html:
 Added.
* 
LayoutTests/accessibility/mac/text-marker-index-regional-indicators-expected.txt:
 Added.
* LayoutTests/accessibility/mac/text-marker-index-regional-indicators.html: 
Added.
* 
LayoutTests/accessibility/mac/text-marker-index-variation-selector-expected.txt:
 Added.
* LayoutTests/accessibility/mac/text-marker-index-variation-selector.html: 
Added.
* LayoutTests/accessibility/mac/text-marker-index-zwj-sequence-expected.txt: 
Added.
* LayoutTests/accessibility/mac/text-marker-index-zwj-sequence.html: Added.

Canonical link: https://commits.webkit.org/320506@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to