return-key-with-selection-002-expected.txt [plain text]
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {DIV} at (0,0) size 784x324 [border: (2px solid #0000FF)]
RenderBlock {DIV} at (14,14) size 756x112
RenderText {TEXT} at (0,0) size 67x28
text run at (0,0) width 67: "Tests: "
RenderBR {BR} at (0,0) size 0x0
RenderText {TEXT} at (0,28) size 612x28
text run at (0,28) width 612: "A scenario I thought of based on my experiences with this bug:"
RenderInline {A} at (0,0) size 260x28 [color=#0000EE]
RenderText {TEXT} at (0,56) size 260x28
text run at (0,56) width 260: "<rdar://problem/4045521>"
RenderText {TEXT} at (260,56) size 744x56
text run at (260,56) width 484: " Hitting return key with full line selected does not"
text run at (0,84) width 254: "add blank line as it should"
RenderBlock {DIV} at (14,142) size 756x168
RenderBlock (anonymous) at (0,0) size 756x84
RenderText {TEXT} at (0,0) size 189x28
text run at (0,0) width 189: "Expected Results: "
RenderBR {BR} at (0,0) size 0x0
RenderText {TEXT} at (0,28) size 711x56
text run at (0,28) width 711: "Should see this content in the red box below (note that the insertion point"
text run at (0,56) width 670: "should be at the start of the third line, immediately preceding \"baz\"):"
RenderBlock {DIV} at (0,84) size 756x28
RenderText {TEXT} at (0,0) size 32x28
text run at (0,0) width 32: "foo"
RenderBlock {DIV} at (0,112) size 756x28
RenderBR {BR} at (0,0) size 0x28
RenderBlock {DIV} at (0,140) size 756x28
RenderText {TEXT} at (0,0) size 34x28
text run at (0,0) width 34: "baz"
RenderBlock {DIV} at (0,348) size 784x88
RenderBlock {DIV} at (0,0) size 784x88 [border: (2px solid #FF0000)]
RenderBlock {DIV} at (2,2) size 780x28
RenderText {TEXT} at (0,0) size 32x28
text run at (0,0) width 32: "foo"
RenderBlock {DIV} at (2,30) size 780x28
RenderBR {BR} at (0,0) size 0x28
RenderBlock {DIV} at (2,58) size 780x28
RenderText {TEXT} at (0,0) size 34x28
text run at (0,0) width 34: "baz"
selection is CARET:
start: position 0 of child 1 {TEXT} of child 4 {DIV} of child 1 {DIV} of root {DIV}
upstream: position 0 of child 4 {DIV} of child 1 {DIV} of root {DIV}
downstream: position 0 of child 1 {TEXT} of child 4 {DIV} of child 1 {DIV} of root {DIV}