Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 99b3fcf42362f39402552442f299f7d5d8feb091
      
https://github.com/WebKit/WebKit/commit/99b3fcf42362f39402552442f299f7d5d8feb091
  Author: Tyler Wilcock <[email protected]>
  Date:   2026-01-08 (Thu, 08 Jan 2026)

  Changed paths:
    A LayoutTests/accessibility/hit-test-on-stitched-text-expected.txt
    A LayoutTests/accessibility/hit-test-on-stitched-text.html
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/accessibility/AccessibilityRenderObject.cpp

  Log Message:
  -----------
  AX: When stitched text is enabled, hit testing should return the stitch-group 
representative object
https://bugs.webkit.org/show_bug.cgi?id=305057
rdar://167700651

Reviewed by Joshua Hoffman.

When a hit test would return an object that is stitched into another object, 
return that other object
(the stitch-group representative) instead.

Test: accessibility/hit-test-on-stitched-text.html

* LayoutTests/accessibility/hit-test-on-stitched-text-expected.txt: Added.
* LayoutTests/accessibility/hit-test-on-stitched-text.html: Added.
* Source/WebCore/accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::accessibilityHitTest const):

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



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

Reply via email to