percentage_units-expected.txt   [plain text]


layer at (0,0) size 800x600
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x534
  RenderBlock {HTML} at (0,0) size 800x534
    RenderBody {BODY} at (8,8) size 784x518 [bgcolor=#CCCCCC]
      RenderBlock {P} at (0,0) size 784x17 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 385x17
          text run at (0,0) width 385: "The style declarations which apply to the text below are:"
      RenderBlock {PRE} at (0,31) size 784x80 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 504x64
          text run at (0,0) width 224: ".zero { background: yellow }"
          text run at (0,16) width 504: ".one { margin-left: 25%; margin-right: 25%; background: white }"
          text run at (0,32) width 496: ".two { margin-left: 50%; margin-right: 0%; background: white }"
          text run at (0,48) width 208: ".three {margin-left: 25%;}"
      RenderBlock {HR} at (1,125) size 782x2 [bgcolor=#000000]
      RenderBlock {DIV} at (0,141) size 784x116 [bgcolor=#FFFF00]
        RenderBlock {DIV} at (196,0) size 392x51 [bgcolor=#FFFFFF]
          RenderBlock {P} at (0,0) size 392x51 [bgcolor=#000000]
            RenderText {TEXT} at (0,0) size 352x51
              text run at (0,0) width 352: "This paragraph should be centered within its yellow"
              text run at (0,17) width 351: "containing block and its width should be half of the"
              text run at (0,34) width 118: "containing block."
        RenderBlock {DIV} at (392,65) size 392x51 [bgcolor=#FFFFFF]
          RenderBlock {P} at (0,0) size 392x51 [bgcolor=#000000]
            RenderText {TEXT} at (0,0) size 383x51
              text run at (0,0) width 383: "This paragraph should be right-aligned within its yellow"
              text run at (0,17) width 351: "containing block and its width should be half of the"
              text run at (0,34) width 118: "containing block."
      RenderBlock {P} at (196,271) size 588x34 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 549x34
          text run at (0,0) width 549: "This paragraph should have a left margin of 25% the width of its parent element,"
          text run at (0,17) width 439: "which should require some extra text in order to test effectively."
      RenderTable {TABLE} at (0,319) size 784x199 [bgcolor=#000000]
        RenderTableSection {TBODY} at (1,1) size 0x197
          RenderTableRow {TR} at (0,0) size 0x0
            RenderTableCell {TD} at (0,0) size 782x25 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
              RenderInline {STRONG} at (0,0) size 164x17 [bgcolor=#000000]
                RenderText {TEXT} at (4,4) size 164x17
                  text run at (4,4) width 164: "TABLE Testing Section"
          RenderTableRow {TR} at (0,0) size 0x0
            RenderTableCell {TD} at (0,98) size 12x25 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
              RenderText {TEXT} at (4,4) size 4x17
                text run at (4,4) width 4: "\x{A0}"
            RenderTableCell {TD} at (12,25) size 770x172 [r=1 c=1 rs=1 cs=1]
              RenderBlock {DIV} at (4,4) size 762x116 [bgcolor=#FFFF00]
                RenderBlock {DIV} at (190,0) size 382x51 [bgcolor=#FFFFFF]
                  RenderBlock {P} at (0,0) size 382x51 [bgcolor=#000000]
                    RenderText {TEXT} at (0,0) size 352x51
                      text run at (0,0) width 352: "This paragraph should be centered within its yellow"
                      text run at (0,17) width 351: "containing block and its width should be half of the"
                      text run at (0,34) width 118: "containing block."
                RenderBlock {DIV} at (381,65) size 381x51 [bgcolor=#FFFFFF]
                  RenderBlock {P} at (0,0) size 381x51 [bgcolor=#000000]
                    RenderText {TEXT} at (0,0) size 372x51
                      text run at (0,0) width 336: "This paragraph should be right-aligned within its"
                      text run at (0,17) width 372: "yellow containing block and its width should be half of"
                      text run at (0,34) width 144: "the containing block."
              RenderBlock {P} at (194,134) size 572x34
                RenderText {TEXT} at (0,0) size 549x34
                  text run at (0,0) width 549: "This paragraph should have a left margin of 25% the width of its parent element,"
                  text run at (0,17) width 439: "which should require some extra text in order to test effectively."