margin_bottom-expected.txt   [plain text]


layer at (0,0) size 800x1740
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x1740
  RenderBlock {HTML} at (0,0) size 800x1740
    RenderBody {BODY} at (8,8) size 784x1724 [bgcolor=#CCCCCC]
      RenderBlock {P} at (0,0) size 784x18
        RenderText {TEXT} at (0,0) size 355x18
          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
      RenderBlock {PRE} at (0,34) size 784x135
        RenderText {TEXT} at (0,0) size 416x120
          text run at (0,0) width 408: ".zero {background-color: silver; margin-bottom: 0;}"
          text run at (0,15) width 192: ".one {margin-bottom: 0.5"
          text run at (192,15) width 224: "in; background-color: aqua;}"
          text run at (0,30) width 184: ".two {margin-bottom: 25"
          text run at (184,30) width 224: "px; background-color: aqua;}"
          text run at (0,45) width 192: ".three {margin-bottom: 5"
          text run at (192,45) width 224: "em; background-color: aqua;}"
          text run at (0,60) width 408: ".four {margin-bottom: 25%; background-color: aqua;}"
          text run at (0,75) width 192: ".five {margin-bottom: 25"
          text run at (192,75) width 32: "px;}"
          text run at (0,90) width 192: ".six {margin-bottom: -10"
          text run at (192,90) width 224: "px; background-color: aqua;}"
          text run at (0,105) width 176: "P, UL {margin-top: 0;}"
      RenderBlock {HR} at (0,182) size 784x2 [border: (1px inset #000000)]
      RenderBlock {P} at (0,196) size 784x18 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderBlock {P} at (0,214) size 784x36 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 740x36
          text run at (0,0) width 740: "This sentence should have a bottom margin of half an inch, which will require extra text in order to make sure that the"
          text run at (0,18) width 203: "margin isn't applied to each line."
      RenderBlock {P} at (0,298) size 784x36 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 771x36
          text run at (0,0) width 771: "This sentence should have a bottom margin of 25 pixels, which will require extra text in order to make sure that the margin"
          text run at (0,18) width 155: "isn't applied to each line."
      RenderBlock {P} at (0,359) size 784x36 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 774x36
          text run at (0,0) width 774: "This sentence should have a bottom margin of 5 em, which will require extra text in order to make sure that the margin isn't"
          text run at (0,18) width 126: "applied to each line."
      RenderBlock {P} at (0,475) size 784x36 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 767x36
          text run at (0,0) width 767: "This element should have a bottom margin of 25%, which will require extra text in order to make sure that the margin isn't"
          text run at (0,18) width 126: "applied to each line."
      RenderBlock {P} at (0,707) size 784x18 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderBlock {P} at (0,725) size 784x18 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 232x18
          text run at (0,0) width 232: "This element also has a class of zero."
      RenderBlock {UL} at (0,743) size 784x97 [bgcolor=#00FFFF]
        RenderListItem {LI} at (40,0) size 744x18
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 424x18
            text run at (0,0) width 220: "This list has a margin-bottom of 25"
            text run at (220,0) width 204: "px, and a light blue background."
        RenderListItem {LI} at (40,18) size 744x18
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 264x18
            text run at (0,0) width 264: "Therefore, it ought to have such a margin."
        RenderListItem {LI} at (40,36) size 744x18
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 591x18
            text run at (0,0) width 250: "This list item has a bottom margin of 25"
            text run at (250,0) width 341: "px, which should cause it to be offset in some fashion."
        RenderListItem {LI} at (40,79) size 744x18
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 294x18
            text run at (0,0) width 294: "This list item has no special styles applied to it."
      RenderBlock {P} at (0,865) size 784x54 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 775x54
          text run at (0,0) width 269: "This paragraph has a bottom margin of -10"
          text run at (269,0) width 506: "px, which should cause elements after it to be shifted \"upward\" on the page, and"
          text run at (0,18) width 96: "no top margin. "
          text run at (96,18) width 488: "No other styles have been applied to it besides a light blue background color. "
          text run at (584,18) width 149: "In all other respects, the"
          text run at (0,36) width 166: "element should be normal."
      RenderBlock {P} at (0,909) size 784x18 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderBlock {P} at (0,927) size 784x18 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 232x18
          text run at (0,0) width 232: "This element also has a class of zero."
      RenderTable {TABLE} at (0,945) size 784x779 [border: (1px outset #808080)]
        RenderTableSection {TBODY} at (1,1) size 0x777
          RenderTableRow {TR} at (0,0) size 0x0
            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
              RenderInline {STRONG} at (0,0) size 163x18
                RenderText {TEXT} at (4,4) size 163x18
                  text run at (4,4) width 163: "TABLE Testing Section"
          RenderTableRow {TR} at (0,0) size 0x0
            RenderTableCell {TD} at (0,388) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
              RenderText {TEXT} at (4,4) size 4x18
                text run at (4,4) width 4: " "
            RenderTableCell {TD} at (12,26) size 770x751 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
              RenderBlock {P} at (4,4) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."
              RenderBlock {P} at (4,22) size 762x36 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 740x36
                  text run at (0,0) width 740: "This sentence should have a bottom margin of half an inch, which will require extra text in order to make sure that the"
                  text run at (0,18) width 203: "margin isn't applied to each line."
              RenderBlock {P} at (4,106) size 762x36 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 723x36
                  text run at (0,0) width 723: "This sentence should have a bottom margin of 25 pixels, which will require extra text in order to make sure that the"
                  text run at (0,18) width 203: "margin isn't applied to each line."
              RenderBlock {P} at (4,167) size 762x36 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 745x36
                  text run at (0,0) width 745: "This sentence should have a bottom margin of 5 em, which will require extra text in order to make sure that the margin"
                  text run at (0,18) width 155: "isn't applied to each line."
              RenderBlock {P} at (4,283) size 762x36 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 738x36
                  text run at (0,0) width 738: "This element should have a bottom margin of 25%, which will require extra text in order to make sure that the margin"
                  text run at (0,18) width 155: "isn't applied to each line."
              RenderBlock {P} at (4,509) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."
              RenderBlock {P} at (4,527) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 232x18
                  text run at (0,0) width 232: "This element also has a class of zero."
              RenderBlock {UL} at (4,545) size 762x97 [bgcolor=#00FFFF]
                RenderListItem {LI} at (40,0) size 722x18
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 424x18
                    text run at (0,0) width 220: "This list has a margin-bottom of 25"
                    text run at (220,0) width 204: "px, and a light blue background."
                RenderListItem {LI} at (40,18) size 722x18
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 264x18
                    text run at (0,0) width 264: "Therefore, it ought to have such a margin."
                RenderListItem {LI} at (40,36) size 722x18
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 591x18
                    text run at (0,0) width 250: "This list item has a bottom margin of 25"
                    text run at (250,0) width 341: "px, which should cause it to be offset in some fashion."
                RenderListItem {LI} at (40,79) size 722x18
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 294x18
                    text run at (0,0) width 294: "This list item has no special styles applied to it."
              RenderBlock {P} at (4,667) size 762x54 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 760x54
                  text run at (0,0) width 269: "This paragraph has a bottom margin of -10"
                  text run at (269,0) width 479: "px, which should cause elements after it to be shifted \"upward\" on the page,"
                  text run at (0,18) width 123: "and no top margin. "
                  text run at (123,18) width 488: "No other styles have been applied to it besides a light blue background color. "
                  text run at (611,18) width 149: "In all other respects, the"
                  text run at (0,36) width 166: "element should be normal."
              RenderBlock {P} at (4,711) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."
              RenderBlock {P} at (4,729) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 232x18
                  text run at (0,0) width 232: "This element also has a class of zero."