margin_inline-expected.txt   [plain text]


layer at (0,0) size 800x700
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x700
  RenderBlock {HTML} at (0,0) size 800x700
    RenderBody {BODY} at (8,8) size 784x684 [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 784x45
        RenderText {TEXT} at (0,0) size 360x45
          text run at (0,0) width 352: ".zero {background-color: silver; margin: 0;}"
          text run at (0,15) width 128: ".one {margin: 25"
          text run at (128,15) width 224: "px; background-color: aqua;}"
          text run at (0,30) width 136: ".two {margin: -10"
          text run at (136,30) width 224: "px; background-color: aqua;}"
      RenderBlock {HR} at (0,92) size 784x2 [border: (1px inset #000000)]
      RenderBlock {P} at (0,106) 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,140) size 784x72 [bgcolor=#808080]
        RenderText {TEXT} at (0,0) size 481x18
          text run at (0,0) width 393: "This element is unstyled save for a background color of gray.. "
          text run at (393,0) width 88: "It contains an "
        RenderInline {SPAN} at (0,0) size 752x36 [bgcolor=#00FFFF]
          RenderText {TEXT} at (506,0) size 143x18
            text run at (506,0) width 143: "inline element of class "
          RenderInline {TT} at (0,0) size 24x15
            RenderText {TEXT} at (649,2) size 24x15
              text run at (649,2) width 24: "one"
          RenderText {TEXT} at (673,0) size 752x36
            text run at (673,0) width 79: ", giving it an"
            text run at (0,18) width 167: "aqua background and a 25"
            text run at (167,18) width 64: "px margin"
        RenderText {TEXT} at (256,18) size 769x54
          text run at (256,18) width 8: ". "
          text run at (264,18) width 505: "Margins on inline elements does not affect line-height calculations, so all lines in"
          text run at (0,36) width 293: "this element should have the same line-height. "
          text run at (293,36) width 194: "However, there should be a 25"
          text run at (487,36) width 279: "px margin to the left side of the inline box in"
          text run at (0,54) width 200: "the first line it appears, and a 25"
          text run at (200,54) width 527: "px margin to the right side of the inline element box in the last line where it appears."
      RenderBlock {P} at (0,228) 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,262) size 784x72 [bgcolor=#808080]
        RenderText {TEXT} at (0,0) size 481x18
          text run at (0,0) width 393: "This element is unstyled save for a background color of gray.. "
          text run at (393,0) width 88: "It contains an "
        RenderInline {SPAN} at (0,0) size 751x36 [bgcolor=#00FFFF]
          RenderText {TEXT} at (471,0) size 143x18
            text run at (471,0) width 143: "inline element of class "
          RenderInline {TT} at (0,0) size 24x15
            RenderText {TEXT} at (614,2) size 24x15
              text run at (614,2) width 24: "two"
          RenderText {TEXT} at (638,0) size 751x36
            text run at (638,0) width 113: ", giving it an aqua"
            text run at (0,18) width 138: "background and a -10"
            text run at (138,18) width 64: "px margin"
        RenderText {TEXT} at (192,18) size 784x54
          text run at (192,18) width 8: ". "
          text run at (200,18) width 584: "Margins on inline elements does not affect line-height calculations, so all lines in this element"
          text run at (0,36) width 214: "should have the same line-height. "
          text run at (214,36) width 199: "However, there should be a -10"
          text run at (413,36) width 369: "px margin to the left side of the inline box in the first line it"
          text run at (0,54) width 115: "appears, and a -10"
          text run at (115,54) width 527: "px margin to the right side of the inline element box in the last line where it appears."
      RenderBlock {P} at (0,350) 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."
      RenderTable {TABLE} at (0,368) size 784x316 [border: (1px outset #808080)]
        RenderTableSection {TBODY} at (1,1) size 0x314
          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,157) 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 770x288 [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,38) size 762x90 [bgcolor=#808080]
                RenderText {TEXT} at (0,0) size 481x18
                  text run at (0,0) width 393: "This element is unstyled save for a background color of gray.. "
                  text run at (393,0) width 88: "It contains an "
                RenderInline {SPAN} at (0,0) size 752x36 [bgcolor=#00FFFF]
                  RenderText {TEXT} at (506,0) size 143x18
                    text run at (506,0) width 143: "inline element of class "
                  RenderInline {TT} at (0,0) size 24x15
                    RenderText {TEXT} at (649,2) size 24x15
                      text run at (649,2) width 24: "one"
                  RenderText {TEXT} at (673,0) size 752x36
                    text run at (673,0) width 79: ", giving it an"
                    text run at (0,18) width 167: "aqua background and a 25"
                    text run at (167,18) width 64: "px margin"
                RenderText {TEXT} at (256,18) size 753x72
                  text run at (256,18) width 8: ". "
                  text run at (264,18) width 489: "Margins on inline elements does not affect line-height calculations, so all lines"
                  text run at (0,36) width 309: "in this element should have the same line-height. "
                  text run at (309,36) width 194: "However, there should be a 25"
                  text run at (503,36) width 235: "px margin to the left side of the inline"
                  text run at (0,54) width 244: "box in the first line it appears, and a 25"
                  text run at (244,54) width 471: "px margin to the right side of the inline element box in the last line where it"
                  text run at (0,72) width 52: "appears."
              RenderBlock {P} at (4,144) 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,178) size 762x72 [bgcolor=#808080]
                RenderText {TEXT} at (0,0) size 481x18
                  text run at (0,0) width 393: "This element is unstyled save for a background color of gray.. "
                  text run at (393,0) width 88: "It contains an "
                RenderInline {SPAN} at (0,0) size 751x36 [bgcolor=#00FFFF]
                  RenderText {TEXT} at (471,0) size 143x18
                    text run at (471,0) width 143: "inline element of class "
                  RenderInline {TT} at (0,0) size 24x15
                    RenderText {TEXT} at (614,2) size 24x15
                      text run at (614,2) width 24: "two"
                  RenderText {TEXT} at (638,0) size 751x36
                    text run at (638,0) width 113: ", giving it an aqua"
                    text run at (0,18) width 138: "background and a -10"
                    text run at (138,18) width 64: "px margin"
                RenderText {TEXT} at (192,18) size 745x54
                  text run at (192,18) width 8: ". "
                  text run at (200,18) width 531: "Margins on inline elements does not affect line-height calculations, so all lines in this"
                  text run at (0,36) width 267: "element should have the same line-height. "
                  text run at (267,36) width 199: "However, there should be a -10"
                  text run at (466,36) width 279: "px margin to the left side of the inline box in"
                  text run at (0,54) width 205: "the first line it appears, and a -10"
                  text run at (205,54) width 527: "px margin to the right side of the inline element box in the last line where it appears."
              RenderBlock {P} at (4,266) 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."