Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a09eb789c913720a2c19ef4bb516a0b7d6641729
https://github.com/WebKit/WebKit/commit/a09eb789c913720a2c19ef4bb516a0b7d6641729
Author: Tyler Wilcock <[email protected]>
Date: 2026-09-08 (Tue, 08 Sep 2026)
Changed paths:
A
LayoutTests/accessibility/isolated-tree/mac/undo-redo-text-state-expected.txt
A LayoutTests/accessibility/isolated-tree/mac/undo-redo-text-state.html
A LayoutTests/accessibility/mac/undo-redo-text-state-expected.txt
A LayoutTests/accessibility/mac/undo-redo-text-state.html
Log Message:
-----------
AX: Add a layout test for accessibility text state across undo and redo
https://bugs.webkit.org/show_bug.cgi?id=323532
rdar://186771075
Reviewed by Chris Fleizach.
Undo and redo change a text control's value without any script touching it --
the edit is unapplied
by EditCommandComposition, not by an assignment the page makes.
Editor::unappliedEditing() and
Editor::reappliedEditing() both end in respondToChangedContents(), which posts
AXValueChanged via
AXObjectCache::onEditableTextValueChanged(). No accessibility test covered
either command.
This test verifies that accessibility's notion of the field value, character
count, and cursor
position is correct after undo and redo.
*
LayoutTests/accessibility/isolated-tree/mac/undo-redo-text-state-expected.txt:
Added.
* LayoutTests/accessibility/isolated-tree/mac/undo-redo-text-state.html: Added.
* LayoutTests/accessibility/mac/undo-redo-text-state-expected.txt: Added.
* LayoutTests/accessibility/mac/undo-redo-text-state.html: Added.
Canonical link: https://commits.webkit.org/320679@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications