haikuwebkit/LayoutTests/accessibility/mac/html5-input-number-expected...

28 lines
1.1 KiB
Plaintext

This tests that input type='number' exposes the accessibility of it's stepper correctly
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS textfield.childrenCount is 1
PASS incrementor.role is 'AXRole: AXIncrementor'
PASS incrementor.width > 0 is true
PASS incrementor.height > 0 is true
PASS incrementor.childrenCount is 2
PASS incrementor.childAtIndex(0).role is 'AXRole: AXIncrementorArrow'
PASS incrementor.childAtIndex(0).subrole is 'AXSubrole: AXIncrementArrow'
PASS incrementor.childAtIndex(0).width > 0 is true
PASS incrementor.childAtIndex(0).height > 0 is true
PASS incrementor.childAtIndex(0).isEnabled is true
PASS textfield.stringValue is 'AXValue: 1'
PASS incrementor.childAtIndex(1).role is 'AXRole: AXIncrementorArrow'
PASS incrementor.childAtIndex(1).subrole is 'AXSubrole: AXDecrementArrow'
PASS incrementor.childAtIndex(1).width > 0 is true
PASS incrementor.childAtIndex(1).height > 0 is true
PASS incrementor.childAtIndex(1).isEnabled is true
PASS textfield.stringValue is 'AXValue: 0'
PASS successfullyParsed is true
TEST COMPLETE