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 784x22 [border: (1px solid #FF0000)]
      LayoutBlockFlow {DIV} at (0,22) size 784x22 [border: (1px solid #FF0000)]
layer at (9,9) size 782x20
  LayoutBlockFlow (relative positioned) {DIV} at (1,1) size 782x20
    LayoutText {#text} at (0,0) size 576x19
      text run at (0,0) width 576: "This text with top percent relative and containing block auto should appear inside the red border"
layer at (9,31) size 782x20
  LayoutBlockFlow (relative positioned) {DIV} at (1,1) size 782x20
    LayoutText {#text} at (0,0) size 599x19
      text run at (0,0) width 599: "This text with bottom percent relative and containing block auto should appear inside the red border"