blob: 21f765f54d1a6a4365ec3e87ed9d7c50f2169647 [file] [edit]
Tests text stitching around clickable elements.
Scenario 1 (handler on <ul>, .btn signals the target):
{AXRole: AXStaticText AXValue: before stitched-with-before}
{AXRole: AXStaticText AXValue: clickable-not-stitched-with-anything}
{AXRole: AXStaticText AXValue: afterstitched-with-after}
Scenario 2 (handler on <body> via delegation, cursor:pointer signals the target):
{AXRole: AXStaticText AXValue: Foo stitched-with-foo }
{AXRole: AXStaticText AXValue: button-not-stitched-with-anything}
{AXRole: AXStaticText AXValue: barstitched-with-bar}
Scenario 3 (handler directly on an inline element wrapping multiple texts):
{AXRole: AXStaticText AXValue: Foo stitched-with-foo }
{AXRole: AXStaticText AXValue: btn should-be-stitched-with-btn}
{AXRole: AXStaticText AXValue: barstitched-with-bar}
PASS successfullyParsed is true
TEST COMPLETE
before stitched-with-beforeclickable-not-stitched-with-anything afterstitched-with-after
Foo stitched-with-foo button-not-stitched-with-anything barstitched-with-bar
Foo stitched-with-foo btn should-be-stitched-with-btn barstitched-with-bar