layer at (0,0) size 800x600 RenderView 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 {P} at (0,0) size 784x18 RenderText {#text} at (0,0) size 601x18 text run at (0,0) width 601: "This tests for a bug where a newline inserted at the end of an anonymous block would be lost." RenderBlock {DIV} at (0,34) size 784x54 RenderBlock (anonymous) at (0,0) size 784x36 RenderText {#text} at (0,0) size 22x18 text run at (0,0) width 22: "foo" RenderBR {BR} at (21,0) size 1x18 RenderBR {BR} at (0,18) size 0x18 RenderBlock {DIV} at (0,36) size 784x18 RenderText {#text} at (0,0) size 21x18 text run at (0,0) width 21: "bar" caret: position 0 of child 2 {BR} of child 2 {DIV} of body