margin_bottom-expected.txt   [plain text]


layer at (0,0) size 800x1686
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x1686
  RenderBlock {HTML} at (0,0) size 800x1686
    RenderBody {BODY} at (8,8) size 784x1670 [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 784x144 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 416x128
          text run at (0,0) width 408: ".zero {background-color: silver; margin-bottom: 0;}"
          text run at (0,16) width 192: ".one {margin-bottom: 0.5"
          text run at (192,16) width 224: "in; background-color: aqua;}"
          text run at (0,32) width 184: ".two {margin-bottom: 25"
          text run at (184,32) width 224: "px; background-color: aqua;}"
          text run at (0,48) width 192: ".three {margin-bottom: 5"
          text run at (192,48) width 224: "em; background-color: aqua;}"
          text run at (0,64) width 408: ".four {margin-bottom: 25%; background-color: aqua;}"
          text run at (0,80) width 192: ".five {margin-bottom: 25"
          text run at (192,80) width 32: "px;}"
          text run at (0,96) width 192: ".six {margin-bottom: -10"
          text run at (192,96) width 224: "px; background-color: aqua;}"
          text run at (0,112) width 176: "P, UL {margin-top: 0;}"
      RenderBlock {HR} at (1,189) size 782x2 [bgcolor=#000000]
      RenderBlock {P} at (0,203) size 784x17 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 224x17
          text run at (0,0) width 224: "This element has a class of zero."
      RenderBlock {P} at (0,220) size 784x34 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 782x34
          text run at (0,0) width 782: "This sentence should have a bottom margin of half an inch, which will require extra text in order to make sure that"
          text run at (0,17) width 250: "the margin isn't applied to each line."
      RenderBlock {P} at (0,302) size 784x34 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 765x34
          text run at (0,0) width 765: "This sentence should have a bottom margin of 25 pixels, which will require extra text in order to make sure that"
          text run at (0,17) width 250: "the margin isn't applied to each line."
      RenderBlock {P} at (0,361) size 784x34 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 762x34
          text run at (0,0) width 762: "This sentence should have a bottom margin of 5 em, which will require extra text in order to make sure that the"
          text run at (0,17) width 224: "margin isn't applied to each line."
      RenderBlock {P} at (0,465) size 784x34 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 750x34
          text run at (0,0) width 750: "This element should have a bottom margin of 25%, which will require extra text in order to make sure that the"
          text run at (0,17) width 224: "margin isn't applied to each line."
      RenderBlock {P} at (0,695) size 784x17 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 224x17
          text run at (0,0) width 224: "This element has a class of zero."
      RenderBlock {P} at (0,712) size 784x17 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 256x17
          text run at (0,0) width 256: "This element also has a class of zero."
      RenderBlock {UL} at (0,729) size 784x93 [bgcolor=#00FFFF]
        RenderListItem {LI} at (40,0) size 744x17 [bgcolor=#000000]
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 469x17
            text run at (0,0) width 244: "This list has a margin-bottom of 25"
            text run at (244,0) width 225: "px, and a light blue background."
        RenderListItem {LI} at (40,17) size 744x17 [bgcolor=#000000]
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 289x17
            text run at (0,0) width 289: "Therefore, it ought to have such a margin."
        RenderListItem {LI} at (40,34) size 744x17 [bgcolor=#000000]
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 650x17
            text run at (0,0) width 275: "This list item has a bottom margin of 25"
            text run at (275,0) width 375: "px, which should cause it to be offset in some fashion."
        RenderListItem {LI} at (40,76) size 744x17 [bgcolor=#000000]
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 325x17
            text run at (0,0) width 325: "This list item has no special styles applied to it."
      RenderBlock {P} at (0,847) size 784x51 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 777x51
          text run at (0,0) width 297: "This paragraph has a bottom margin of -10"
          text run at (297,0) width 480: "px, which should cause elements after it to be shifted \"upward\" on the"
          text run at (0,17) width 179: "page, and no top margin. "
          text run at (179,17) width 535: "No other styles have been applied to it besides a light blue background color. "
          text run at (714,17) width 33: "In all"
          text run at (0,34) width 316: "other respects, the element should be normal."
      RenderBlock {P} at (0,888) size 784x17 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 224x17
          text run at (0,0) width 224: "This element has a class of zero."
      RenderBlock {P} at (0,905) size 784x17 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 256x17
          text run at (0,0) width 256: "This element also has a class of zero."
      RenderTable {TABLE} at (0,922) size 784x748 [bgcolor=#000000]
        RenderTableSection {TBODY} at (1,1) size 0x746
          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,373) 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 770x721 [r=1 c=1 rs=1 cs=1]
              RenderBlock {P} at (4,4) size 762x17 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 224x17
                  text run at (0,0) width 224: "This element has a class of zero."
              RenderBlock {P} at (4,21) size 762x34 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 751x34
                  text run at (0,0) width 751: "This sentence should have a bottom margin of half an inch, which will require extra text in order to make sure"
                  text run at (0,17) width 281: "that the margin isn't applied to each line."
              RenderBlock {P} at (4,103) size 762x34 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 734x34
                  text run at (0,0) width 734: "This sentence should have a bottom margin of 25 pixels, which will require extra text in order to make sure"
                  text run at (0,17) width 281: "that the margin isn't applied to each line."
              RenderBlock {P} at (4,162) size 762x34 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 762x34
                  text run at (0,0) width 762: "This sentence should have a bottom margin of 5 em, which will require extra text in order to make sure that the"
                  text run at (0,17) width 224: "margin isn't applied to each line."
              RenderBlock {P} at (4,266) size 762x34 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 750x34
                  text run at (0,0) width 750: "This element should have a bottom margin of 25%, which will require extra text in order to make sure that the"
                  text run at (0,17) width 224: "margin isn't applied to each line."
              RenderBlock {P} at (4,490) size 762x17 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 224x17
                  text run at (0,0) width 224: "This element has a class of zero."
              RenderBlock {P} at (4,507) size 762x17 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 256x17
                  text run at (0,0) width 256: "This element also has a class of zero."
              RenderBlock {UL} at (4,524) size 762x93 [bgcolor=#00FFFF]
                RenderListItem {LI} at (40,0) size 722x17 [bgcolor=#000000]
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 469x17
                    text run at (0,0) width 244: "This list has a margin-bottom of 25"
                    text run at (244,0) width 225: "px, and a light blue background."
                RenderListItem {LI} at (40,17) size 722x17 [bgcolor=#000000]
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 289x17
                    text run at (0,0) width 289: "Therefore, it ought to have such a margin."
                RenderListItem {LI} at (40,34) size 722x17 [bgcolor=#000000]
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 650x17
                    text run at (0,0) width 275: "This list item has a bottom margin of 25"
                    text run at (275,0) width 375: "px, which should cause it to be offset in some fashion."
                RenderListItem {LI} at (40,76) size 722x17 [bgcolor=#000000]
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 325x17
                    text run at (0,0) width 325: "This list item has no special styles applied to it."
              RenderBlock {P} at (4,642) size 762x51 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 753x51
                  text run at (0,0) width 297: "This paragraph has a bottom margin of -10"
                  text run at (297,0) width 454: "px, which should cause elements after it to be shifted \"upward\" on"
                  text run at (0,17) width 205: "the page, and no top margin. "
                  text run at (205,17) width 535: "No other styles have been applied to it besides a light blue background color. "
                  text run at (740,17) width 13: "In"
                  text run at (0,34) width 336: "all other respects, the element should be normal."
              RenderBlock {P} at (4,683) size 762x17 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 224x17
                  text run at (0,0) width 224: "This element has a class of zero."
              RenderBlock {P} at (4,700) size 762x17 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 256x17
                  text run at (0,0) width 256: "This element also has a class of zero."