padding_right_inline-expected.txt   [plain text]


layer at (0,0) size 800x600
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x408
  RenderBlock {HTML} at (0,0) size 800x408
    RenderBody {BODY} at (8,8) size 784x392 [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 568x30
          text run at (0,0) width 184: ".one {padding-right: 25"
          text run at (184,0) width 376: "px; text-align: right; background-color: aqua;}"
          text run at (0,15) width 192: ".two {padding-right: -10"
          text run at (192,15) width 376: "px; text-align: right; background-color: aqua;}"
      RenderBlock {HR} at (0,92) size 784x2 [border: (1px inset #000000)]
      RenderBlock {P} at (0,110) size 784x36 [bgcolor=#808080]
        RenderText {TEXT} at (0,0) size 543x18
          text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
          text run at (389,0) width 154: "However, it contains an "
        RenderInline {SPAN} at (0,0) size 192x18 [bgcolor=#00FFFF]
          RenderText {TEXT} at (543,0) size 143x18
            text run at (543,0) width 143: "inline element of class "
          RenderInline {TT} at (0,0) size 24x15
            RenderText {TEXT} at (686,2) size 24x15
              text run at (686,2) width 24: "one"
        RenderText {TEXT} at (735,0) size 782x36
          text run at (735,0) width 47: ", which"
          text run at (0,18) width 121: "should result in 25-"
          text run at (121,18) width 404: "pixel right padding (which should also be light blue) only in the "
        RenderInline {STRONG} at (0,0) size 23x18
          RenderText {TEXT} at (525,18) size 23x18
            text run at (525,18) width 23: "last"
        RenderText {TEXT} at (548,18) size 232x18
          text run at (548,18) width 232: " line in which the inline box appears."
      RenderBlock {P} at (0,162) size 784x54 [bgcolor=#808080]
        RenderText {TEXT} at (0,0) size 543x18
          text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
          text run at (389,0) width 154: "However, it contains an "
        RenderInline {SPAN} at (0,0) size 167x18 [bgcolor=#00FFFF]
          RenderText {TEXT} at (543,0) size 143x18
            text run at (543,0) width 143: "inline element of class "
          RenderInline {TT} at (0,0) size 24x15
            RenderText {TEXT} at (686,2) size 24x15
              text run at (686,2) width 24: "two"
        RenderText {TEXT} at (710,0) size 757x36
          text run at (710,0) width 47: ", which"
          text run at (0,18) width 548: "should result in no right padding, since negative padding values are not allowed, in the "
        RenderInline {STRONG} at (0,0) size 23x18
          RenderText {TEXT} at (548,18) size 23x18
            text run at (548,18) width 23: "last"
        RenderText {TEXT} at (571,18) size 747x36
          text run at (571,18) width 176: " line in which the inline box"
          text run at (0,36) width 52: "appears."
      RenderTable {TABLE} at (0,232) 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 543x18
                  text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
                  text run at (389,0) width 154: "However, it contains an "
                RenderInline {SPAN} at (0,0) size 192x18 [bgcolor=#00FFFF]
                  RenderText {TEXT} at (543,0) size 143x18
                    text run at (543,0) width 143: "inline element of class "
                  RenderInline {TT} at (0,0) size 24x15
                    RenderText {TEXT} at (686,2) size 24x15
                      text run at (686,2) width 24: "one"
                RenderText {TEXT} at (735,0) size 739x36
                  text run at (735,0) width 4: ","
                  text run at (0,18) width 164: "which should result in 25-"
                  text run at (164,18) width 404: "pixel right padding (which should also be light blue) only in the "
                RenderInline {STRONG} at (0,0) size 23x18
                  RenderText {TEXT} at (568,18) size 23x18
                    text run at (568,18) width 23: "last"
                RenderText {TEXT} at (591,18) size 739x36
                  text run at (591,18) width 148: " line in which the inline"
                  text run at (0,36) width 80: "box appears."
              RenderBlock {P} at (4,74) size 762x54 [bgcolor=#808080]
                RenderText {TEXT} at (0,0) size 543x18
                  text run at (0,0) width 389: "This element is unstyled save for a background color of gray. "
                  text run at (389,0) width 154: "However, it contains an "
                RenderInline {SPAN} at (0,0) size 167x18 [bgcolor=#00FFFF]
                  RenderText {TEXT} at (543,0) size 143x18
                    text run at (543,0) width 143: "inline element of class "
                  RenderInline {TT} at (0,0) size 24x15
                    RenderText {TEXT} at (686,2) size 24x15
                      text run at (686,2) width 24: "two"
                RenderText {TEXT} at (710,0) size 757x36
                  text run at (710,0) width 47: ", which"
                  text run at (0,18) width 548: "should result in no right padding, since negative padding values are not allowed, in the "
                RenderInline {STRONG} at (0,0) size 23x18
                  RenderText {TEXT} at (548,18) size 23x18
                    text run at (548,18) width 23: "last"
                RenderText {TEXT} at (571,18) size 747x36
                  text run at (571,18) width 176: " line in which the inline box"
                  text run at (0,36) width 52: "appears."