margin_top_inline-expected.txt   [plain text]


layer at (0,0) size 800x600
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x441
  RenderBlock {HTML} at (0,0) size 800x441
    RenderBody {BODY} at (8,8) size 784x425 [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 784x60
        RenderText {TEXT} at (0,0) size 392x45
          text run at (0,0) width 384: ".zero {background-color: silver; margin-top: 0;}"
          text run at (0,15) width 160: ".one {margin-top: 25"
          text run at (160,15) width 224: "px; background-color: aqua;}"
          text run at (0,30) width 168: ".two {margin-top: -10"
          text run at (168,30) width 224: "px; background-color: aqua;}"
      RenderBlock {HR} at (0,107) size 784x2 [border: (1px inset #000000)]
      RenderBlock {P} at (0,125) size 784x54 [bgcolor=#808080]
        RenderText {TEXT} at (0,0) size 477x18
          text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
          text run at (389,0) width 88: "It contains an "
        RenderInline {SPAN} at (0,0) size 757x36 [bgcolor=#00FFFF]
          RenderText {TEXT} at (477,0) size 143x18
            text run at (477,0) width 143: "inline element of class "
          RenderInline {TT} at (0,0) size 24x15
            RenderText {TEXT} at (620,2) size 24x15
              text run at (620,2) width 24: "one"
          RenderText {TEXT} at (644,0) size 757x36
            text run at (644,0) width 113: ", giving it an aqua"
            text run at (0,18) width 133: "background and a 25"
            text run at (133,18) width 88: "px top margin"
        RenderText {TEXT} at (221,18) size 747x36
          text run at (221,18) width 8: ". "
          text run at (229,18) width 518: "Margins on inline elements do not affect line-height calculations, so all lines in this"
          text run at (0,36) width 263: "element should have the same line-height."
      RenderBlock {P} at (0,195) size 784x54 [bgcolor=#808080]
        RenderText {TEXT} at (0,0) size 477x18
          text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
          text run at (389,0) width 88: "It contains an "
        RenderInline {SPAN} at (0,0) size 754x36 [bgcolor=#00FFFF]
          RenderText {TEXT} at (477,0) size 143x18
            text run at (477,0) width 143: "inline element of class "
          RenderInline {TT} at (0,0) size 24x15
            RenderText {TEXT} at (620,2) size 24x15
              text run at (620,2) width 24: "two"
          RenderText {TEXT} at (644,0) size 754x36
            text run at (644,0) width 110: ", giving the inline"
            text run at (0,18) width 244: "element an aqua background and a -10"
            text run at (244,18) width 88: "px top margin"
        RenderText {TEXT} at (332,18) size 783x36
          text run at (332,18) width 8: ". "
          text run at (340,18) width 443: "Margins on inline elements do not affect line-height calculations, so all"
          text run at (0,36) width 338: "lines in this element should have the same line-height."
      RenderTable {TABLE} at (0,265) size 784x160 [border: (1px outset #808080)]
        RenderTableSection {TBODY} at (1,1) size 0x158
          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,79) 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 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
              RenderBlock {P} at (4,4) size 762x54 [bgcolor=#808080]
                RenderText {TEXT} at (0,0) size 477x18
                  text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
                  text run at (389,0) width 88: "It contains an "
                RenderInline {SPAN} at (0,0) size 757x36 [bgcolor=#00FFFF]
                  RenderText {TEXT} at (477,0) size 143x18
                    text run at (477,0) width 143: "inline element of class "
                  RenderInline {TT} at (0,0) size 24x15
                    RenderText {TEXT} at (620,2) size 24x15
                      text run at (620,2) width 24: "one"
                  RenderText {TEXT} at (644,0) size 757x36
                    text run at (644,0) width 113: ", giving it an aqua"
                    text run at (0,18) width 133: "background and a 25"
                    text run at (133,18) width 88: "px top margin"
                RenderText {TEXT} at (221,18) size 747x36
                  text run at (221,18) width 8: ". "
                  text run at (229,18) width 518: "Margins on inline elements do not affect line-height calculations, so all lines in this"
                  text run at (0,36) width 263: "element should have the same line-height."
              RenderBlock {P} at (4,74) size 762x54 [bgcolor=#808080]
                RenderText {TEXT} at (0,0) size 477x18
                  text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
                  text run at (389,0) width 88: "It contains an "
                RenderInline {SPAN} at (0,0) size 754x36 [bgcolor=#00FFFF]
                  RenderText {TEXT} at (477,0) size 143x18
                    text run at (477,0) width 143: "inline element of class "
                  RenderInline {TT} at (0,0) size 24x15
                    RenderText {TEXT} at (620,2) size 24x15
                      text run at (620,2) width 24: "two"
                  RenderText {TEXT} at (644,0) size 754x36
                    text run at (644,0) width 110: ", giving the inline"
                    text run at (0,18) width 244: "element an aqua background and a -10"
                    text run at (244,18) width 88: "px top margin"
                RenderText {TEXT} at (332,18) size 746x36
                  text run at (332,18) width 8: ". "
                  text run at (340,18) width 406: "Margins on inline elements do not affect line-height calculations,"
                  text run at (0,36) width 375: "so all lines in this element should have the same line-height."