blob: 0ac70be0080c9700d93be2e668dd722a243d57e7 [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 = " [ (kCGColorSpaceICCBased; kCGColorSpaceModelRGB; sRGB IEC61966-2.1)] ( 0 0 0 0 )";
AXFont = {
AXFontFamily = Times;
AXFontName = "Times-Roman";
AXFontSize = 16;
AXVisibleName = "Times Roman";
};
AXForegroundColor = " [ (kCGColorSpaceICCBased; kCGColorSpaceModelRGB; sRGB IEC61966-2.1)] ( 0 0 0 1 )";
}worl{
AXBackgroundColor = " [ (kCGColorSpaceICCBased; kCGColorSpaceModelRGB; sRGB IEC61966-2.1)] ( 0 0 0 0 )";
AXFont = {
AXFontFamily = Times;
AXFontName = "Times-Bold";
AXFontSize = 16;
AXVisibleName = "Times Bold";
};
AXForegroundColor = " [ (kCGColorSpaceICCBased; kCGColorSpaceModelRGB; sRGB IEC61966-2.1)] ( 0 0 0 1 )";
AXMarkedMisspelled = 1;
AXMisspelled = 1;
}
Line for index(0): 0
Line for index(7): 1
Range for line(0): {0, 6}
Range for line(1): {6, 6}
Bounds for range: {{-1.000000, -1.000000}, {32.000000, 36.000000}}
Selected text range: {0, 3}
Selected text: hel
Updated value: AXValue: qlo
world
PASS successfullyParsed is true
TEST COMPLETE