layer at (0,0) size 800x600 LayoutView at (0,0) size 800x600 layer at (0,0) size 800x600 LayoutBlockFlow {HTML} at (0,0) size 800x600 LayoutBlockFlow {BODY} at (8,8) size 784x584 LayoutBlockFlow {DIV} at (0,0) size 784x20 [border: (1px solid #FF0000)] LayoutBlockFlow {DIV} at (0,20) size 784x20 [border: (1px solid #FF0000)] layer at (9,9) size 782x18 LayoutBlockFlow (relative positioned) {DIV} at (1,1) size 782x18 LayoutText {#text} at (0,0) size 616x17 text run at (0,0) width 616: "This text with top percent relative and containing block auto should appear inside the red border" layer at (9,29) size 782x18 LayoutBlockFlow (relative positioned) {DIV} at (1,1) size 782x18 LayoutText {#text} at (0,0) size 641x17 text run at (0,0) width 641: "This text with bottom percent relative and containing block auto should appear inside the red border"