layer at (0,0) size 800x600 RenderView at (0,0) size 800x600 layer at (0,0) size 800x112 RenderBlock {test} at (0,0) size 800x112 RenderBlock {p} at (0,16) size 800x16 RenderText {#text} at (0,0) size 307x16 text run at (0,0) width 307: "This paragraph should have normal background" RenderBlock {div} at (0,48) size 800x48 RenderBlock (anonymous) at (0,0) size 800x16 RenderText {#text} at (0,0) size 238x16 text run at (0,0) width 238: "This div contains only one paragraph" RenderBlock {p} at (0,32) size 800x16 [bgcolor=#00FF00] RenderText {#text} at (0,0) size 297x16 text run at (0,0) width 297: "This paragraph should have green background"