blob: d1d12bdb6964dd5c14e7468d6acf6fcf34a1ccca [file] [log] [blame]
This tests that a contenteditable region behaves as a proper AXTextArea.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Role: AXRole: AXTextArea
Value: AXValue: hello
world
Value (writable): true
String with range: ello
worl
Attributed string with range: ello
{
AXBackgroundColor = " [ (kCGColorSpaceDeviceRGB)] ( 0 0 0 0 )";
AXFont = {
AXFontFamily = Times;
AXFontName = "Times-Roman";
AXFontSize = 16;
AXVisibleName = "Times Roman";
};
AXForegroundColor = " [ (kCGColorSpaceDeviceRGB)] ( 0 0 0 1 )";
}worl{
AXBackgroundColor = " [ (kCGColorSpaceDeviceRGB)] ( 0 0 0 0 )";
AXFont = {
AXFontFamily = Times;
AXFontName = "Times-Bold";
AXFontSize = 16;
AXVisibleName = "Times Bold";
};
AXForegroundColor = " [ (kCGColorSpaceDeviceRGB)] ( 0 0 0 1 )";
AXMisspelled = 1;
}
Line for index(0): 0
Line for index(7): 1
Range for line(0): {0, 6}
Range for line(1): {6, 5}
Bounds for range: {{-1.000000, -1.000000}, {31.000000, 36.000000}}
Selected text range: {0, 3}
Selected text: hel
Updated value: AXValue: qlo
world
PASS successfullyParsed is true
TEST COMPLETE