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 591x18 text run at (0,0) width 591: "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 21x18 text run at (0,0) width 21: "foo" RenderBR {BR} at (21,14) size 0x0 RenderBR {BR} at (0,18) size 0x18 RenderBlock {DIV} at (0,36) size 784x18 RenderText {#text} at (0,0) size 20x18 text run at (0,0) width 20: "bar" caret: position 0 of child 2 {BR} of child 2 {DIV} of body