Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bf58fd66fc92c28c9785ba176c018db29f812cb8
      
https://github.com/WebKit/WebKit/commit/bf58fd66fc92c28c9785ba176c018db29f812cb8
  Author: Tyler Wilcock <[email protected]>
  Date:   2025-07-16 (Wed, 16 Jul 2025)

  Changed paths:
    M LayoutTests/accessibility-isolated-tree/TestExpectations
    M Source/WebCore/accessibility/AXObjectCache.cpp
    M Source/WebCore/accessibility/AccessibilityRenderObject.cpp
    M Source/WebCore/editing/VisiblePosition.cpp

  Log Message:
  -----------
  AX: Accessibility text runs don't traverse `InlineIterator::TextBox`s in 
logical order, causing assistive technologies to output incorrect text for 
LTR-RTL mixed content
https://bugs.webkit.org/show_bug.cgi?id=294632
rdar://153673920

Reviewed by Joshua Hoffman.

Traverse in `InlineIterator::TextBox`s in logical order so we output correct 
text for LTR-RTL mixed direction content.
Fixes accessibility/text-marker/text-marker-bidi-inline-cite.html in ITM.

* LayoutTests/accessibility-isolated-tree/TestExpectations:
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::onAccessibilityPaintFinished):
* Source/WebCore/accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::textRuns):
* Source/WebCore/editing/VisiblePosition.cpp:
(WebCore::VisiblePosition::debugDescription const):
Drive-by change to output affinity in debug description, something I've found 
useful multiple times.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to