1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48

content / test / data / accessibility / mac / selection / set-selection-contenteditable-expected.txt [blame]

// Select the 1st word via text marker associated with container AXTextArea.
text_range={anchor: {:2, 0, down}, focus: {:2, 45, down}}
marker_0={:2, 0, down}
marker_1={:2, 3, down}
target_selected_marker_range={anchor: {:2, 0, down}, focus: {:2, 3, down}}
ce1.AXSelectedTextMarkerRange={anchor: {:2, 0, down}, focus: {:2, 3, down}}
AXSelectedTextChanged on AXTextArea AXValue='The quick brown foxes jumps over the lazy dog' AXTextSelectionDirection=AXTextSelectionDirectionUnknown AXTextSelectionGranularity=AXTextSelectionGranularityUnknown AXTextStateChangeType=AXTextStateChangeTypeSelectionMove
ce1.AXSelectedText='The'
// Select the 2nd word via the marker associated with AXStaticText.
text=:4
text.AXValue='The quick brown foxes '
text_range={anchor: {:4, 0, down}, focus: {:4, 22, down}}
marker_0={:4, 0, down}
marker_1={:4, 3, down}
marker_2={:4, 9, down}
marker_3={:4, 4, down}
target_selected_marker_range={anchor: {:4, 4, down}, focus: {:4, 9, down}}
ce1.AXSelectedTextMarkerRange={anchor: {:4, 4, down}, focus: {:4, 9, down}}
AXSelectedTextChanged on AXTextArea AXValue='The quick brown foxes jumps over the lazy dog' AXTextSelectionDirection=AXTextSelectionDirectionUnknown AXTextSelectionGranularity=AXTextSelectionGranularityUnknown AXTextStateChangeType=AXTextStateChangeTypeUnknown
ce1.AXSelectedText='quick'
// Select text inside a span.
text=:8
text.AXValue=''
text_range={anchor: {:8, 0, down}, focus: {:8, 4, down}}
marker_0={:8, 0, down}
marker_1={:8, 4, down}
marker_2={:8, 3, down}
target_selected_marker_range={anchor: {:8, 0, down}, focus: {:8, 3, down}}
ce1.AXSelectedTextMarkerRange={anchor: {:8, 0, down}, focus: {:8, 3, down}}
AXSelectedTextChanged on AXTextArea AXValue='The quick brown foxes jumps over the lazy dog' AXTextSelectionDirection=AXTextSelectionDirectionUnknown AXTextSelectionGranularity=AXTextSelectionGranularityUnknown AXTextStateChangeType=AXTextStateChangeTypeUnknown
ce1.AXSelectedText='laz'
// Select the text inside the block with incorrect grammar.
text=:6
text.AXValue='jumps'
text_range={anchor: {:6, 0, down}, focus: {:6, 5, down}}
ce1.AXSelectedTextMarkerRange={anchor: {:6, 0, down}, focus: {:6, 5, down}}
AXSelectedTextChanged on AXTextArea AXValue='The quick brown foxes jumps over the lazy dog' AXTextSelectionDirection=AXTextSelectionDirectionUnknown AXTextSelectionGranularity=AXTextSelectionGranularityUnknown AXTextStateChangeType=AXTextStateChangeTypeUnknown
ce1.AXSelectedText='jumps'
// Select the text after a forced break.
text=:15
text.AXValue='with five dozen liquor jugs.'
text_range={anchor: {:15, 0, down}, focus: {:15, 28, down}}
marker_0={:15, 0, down}
marker_1={:15, 4, down}
target_selected_marker_range={anchor: {:15, 0, down}, focus: {:15, 4, down}}
ce2.AXSelectedTextMarkerRange={anchor: {:15, 0, down}, focus: {:15, 4, down}}
AXSelectedTextChanged on AXTextArea AXValue='Pack my box<newline>with five dozen liquor jugs.' AXTextSelectionDirection=AXTextSelectionDirectionUnknown AXTextSelectionGranularity=AXTextSelectionGranularityUnknown AXTextStateChangeType=AXTextStateChangeTypeSelectionMove
ce2.AXSelectedText='with'