1 layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 638
2 LayoutView at (0,0) size 800x600
3 layer at (0,0) size 785x638 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
4 LayoutBlockFlow {HTML} at (0,0) size 785x638
5 LayoutBlockFlow {BODY} at (8,8) size 769x614
6 LayoutBlockFlow (anonymous) at (0,0) size 769x20
7 LayoutText {#text} at (0,0) size 318x19
8 text run at (0,0) width 318: "This tests the selection methods on the new text field."
9 LayoutBlockFlow {P} at (0,36) size 769x22
10 LayoutTextControl {INPUT} at (0,0) size 153x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
11 LayoutText {#text} at (0,0) size 0x0
12 LayoutBlockFlow {DIV} at (0,74) size 769x540
13 LayoutBR {BR} at (0,0) size 0x19
14 LayoutText {#text} at (0,20) size 189x19
15 text run at (0,20) width 189: "Test 1: setSelectionRange(0, 0)"
16 LayoutBR {BR} at (189,35) size 0x0
17 LayoutText {#text} at (0,40) size 47x19
18 text run at (0,40) width 47: "Passed."
19 LayoutBR {BR} at (47,55) size 0x0
20 LayoutBR {BR} at (0,60) size 0x19
21 LayoutText {#text} at (0,80) size 154x19
22 text run at (0,80) width 154: "Test 2: selectionEnd = 17"
23 LayoutBR {BR} at (154,95) size 0x0
24 LayoutText {#text} at (0,100) size 47x19
25 text run at (0,100) width 47: "Passed."
26 LayoutBR {BR} at (47,115) size 0x0
27 LayoutBR {BR} at (0,120) size 0x19
28 LayoutText {#text} at (0,140) size 151x19
29 text run at (0,140) width 151: "Test 3: selectionStart = 1"
30 LayoutBR {BR} at (151,155) size 0x0
31 LayoutText {#text} at (0,160) size 47x19
32 text run at (0,160) width 47: "Passed."
33 LayoutBR {BR} at (47,175) size 0x0
34 LayoutBR {BR} at (0,180) size 0x19
35 LayoutText {#text} at (0,200) size 197x19
36 text run at (0,200) width 197: "Test 4: setSelectionRange(10, 3)"
37 LayoutBR {BR} at (197,215) size 0x0
38 LayoutText {#text} at (0,220) size 47x19
39 text run at (0,220) width 47: "Passed."
40 LayoutBR {BR} at (47,235) size 0x0
41 LayoutBR {BR} at (0,240) size 0x19
42 LayoutText {#text} at (0,260) size 146x19
43 text run at (0,260) width 146: "Test 5: selectionEnd = 2"
44 LayoutBR {BR} at (146,275) size 0x0
45 LayoutText {#text} at (0,280) size 47x19
46 text run at (0,280) width 47: "Passed."
47 LayoutBR {BR} at (47,295) size 0x0
48 LayoutBR {BR} at (0,300) size 0x19
49 LayoutText {#text} at (0,320) size 189x19
50 text run at (0,320) width 189: "Test 6: setSelectionRange(5, 4)"
51 LayoutBR {BR} at (189,335) size 0x0
52 LayoutText {#text} at (0,340) size 47x19
53 text run at (0,340) width 47: "Passed."
54 LayoutBR {BR} at (47,355) size 0x0
55 LayoutBR {BR} at (0,360) size 0x19
56 LayoutText {#text} at (0,380) size 201x19
57 text run at (0,380) width 201: "Test 7: setSelectionRange(-5, -4)"
58 LayoutBR {BR} at (201,395) size 0x0
59 LayoutText {#text} at (0,400) size 47x19
60 text run at (0,400) width 47: "Passed."
61 LayoutBR {BR} at (47,415) size 0x0
62 LayoutBR {BR} at (0,420) size 0x19
63 LayoutText {#text} at (0,440) size 203x19
64 text run at (0,440) width 203: "Test 8: setSelectionRange(-5, 80)"
65 LayoutBR {BR} at (203,455) size 0x0
66 LayoutText {#text} at (0,460) size 47x19
67 text run at (0,460) width 47: "Passed."
68 LayoutBR {BR} at (47,475) size 0x0
69 LayoutBR {BR} at (0,480) size 0x19
70 LayoutText {#text} at (0,500) size 197x19
71 text run at (0,500) width 197: "Test 9: setSelectionRange(3, 12)"
72 LayoutBR {BR} at (197,515) size 0x0
73 LayoutText {#text} at (0,520) size 47x19
74 text run at (0,520) width 47: "Passed."
75 LayoutBR {BR} at (47,535) size 0x0
76 LayoutBlockFlow {P} at (0,630) size 769x0
77 layer at (10,47) size 149x16
78 LayoutBlockFlow {DIV} at (2,3) size 149x16
79 LayoutText {#text} at (0,0) size 148x16
80 text run at (0,0) width 148: "123456789 ABCDEFGHIJ"
81 selection start: position 3 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 1 {P} of body
82 selection end: position 12 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of child 1 {P} of body