1 layer at (0,0) size 800x600
2 LayoutView at (0,0) size 800x600
3 layer at (0,0) size 800x600
4 LayoutBlockFlow {HTML} at (0,0) size 800x600
5 LayoutBlockFlow {BODY} at (8,8) size 784x576
6 LayoutBlockFlow (anonymous) at (0,0) size 784x18
7 LayoutText {#text} at (0,0) size 344x18
8 text run at (0,0) width 344: "This tests the selection methods on the new text field."
9 LayoutBlockFlow {P} at (0,34) size 784x19
10 LayoutTextControl {INPUT} at (0,0) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
11 LayoutText {#text} at (0,0) size 0x0
12 LayoutBlockFlow {DIV} at (0,69) size 784x486
13 LayoutBR {BR} at (0,0) size 0x18
14 LayoutText {#text} at (0,18) size 201x18
15 text run at (0,18) width 201: "Test 1: setSelectionRange(0, 0)"
16 LayoutBR {BR} at (200,32) size 1x0
17 LayoutText {#text} at (0,36) size 48x18
18 text run at (0,36) width 48: "Passed."
19 LayoutBR {BR} at (47,50) size 1x0
20 LayoutBR {BR} at (0,54) size 0x18
21 LayoutText {#text} at (0,72) size 164x18
22 text run at (0,72) width 164: "Test 2: selectionEnd = 17"
23 LayoutBR {BR} at (163,86) size 1x0
24 LayoutText {#text} at (0,90) size 48x18
25 text run at (0,90) width 48: "Passed."
26 LayoutBR {BR} at (47,104) size 1x0
27 LayoutBR {BR} at (0,108) size 0x18
28 LayoutText {#text} at (0,126) size 161x18
29 text run at (0,126) width 161: "Test 3: selectionStart = 1"
30 LayoutBR {BR} at (160,140) size 1x0
31 LayoutText {#text} at (0,144) size 48x18
32 text run at (0,144) width 48: "Passed."
33 LayoutBR {BR} at (47,158) size 1x0
34 LayoutBR {BR} at (0,162) size 0x18
35 LayoutText {#text} at (0,180) size 209x18
36 text run at (0,180) width 209: "Test 4: setSelectionRange(10, 3)"
37 LayoutBR {BR} at (208,194) size 1x0
38 LayoutText {#text} at (0,198) size 48x18
39 text run at (0,198) width 48: "Passed."
40 LayoutBR {BR} at (47,212) size 1x0
41 LayoutBR {BR} at (0,216) size 0x18
42 LayoutText {#text} at (0,234) size 156x18
43 text run at (0,234) width 156: "Test 5: selectionEnd = 2"
44 LayoutBR {BR} at (155,248) size 1x0
45 LayoutText {#text} at (0,252) size 48x18
46 text run at (0,252) width 48: "Passed."
47 LayoutBR {BR} at (47,266) size 1x0
48 LayoutBR {BR} at (0,270) size 0x18
49 LayoutText {#text} at (0,288) size 201x18
50 text run at (0,288) width 201: "Test 6: setSelectionRange(5, 4)"
51 LayoutBR {BR} at (200,302) size 1x0
52 LayoutText {#text} at (0,306) size 48x18
53 text run at (0,306) width 48: "Passed."
54 LayoutBR {BR} at (47,320) size 1x0
55 LayoutBR {BR} at (0,324) size 0x18
56 LayoutText {#text} at (0,342) size 212x18
57 text run at (0,342) width 212: "Test 7: setSelectionRange(-5, -4)"
58 LayoutBR {BR} at (211,356) size 1x0
59 LayoutText {#text} at (0,360) size 48x18
60 text run at (0,360) width 48: "Passed."
61 LayoutBR {BR} at (47,374) size 1x0
62 LayoutBR {BR} at (0,378) size 0x18
63 LayoutText {#text} at (0,396) size 215x18
64 text run at (0,396) width 215: "Test 8: setSelectionRange(-5, 80)"
65 LayoutBR {BR} at (214,410) size 1x0
66 LayoutText {#text} at (0,414) size 48x18
67 text run at (0,414) width 48: "Passed."
68 LayoutBR {BR} at (47,428) size 1x0
69 LayoutBR {BR} at (0,432) size 0x18
70 LayoutText {#text} at (0,450) size 209x18
71 text run at (0,450) width 209: "Test 9: setSelectionRange(3, 12)"
72 LayoutBR {BR} at (208,464) size 1x0
73 LayoutText {#text} at (0,468) size 48x18
74 text run at (0,468) width 48: "Passed."
75 LayoutBR {BR} at (47,482) size 1x0
76 LayoutBlockFlow {P} at (0,571) size 784x0
77 layer at (11,45) size 117x13 scrollWidth 130
78 LayoutBlockFlow {DIV} at (3,3) size 117x13
79 LayoutText {#text} at (0,0) size 131x13
80 text run at (0,0) width 131: "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