padding_right_inline-expected.txt   [plain text]


layer at (0,0) size 800x600
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x406
  RenderBlock {HTML} at (0,0) size 800x406
    RenderBody {BODY} at (8,8) size 784x390 [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 784x48 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 568x32
          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,16) width 192: ".two {padding-right: -10"
          text run at (192,16) width 376: "px; text-align: right; background-color: aqua;}"
      RenderBlock {HR} at (1,93) size 782x2 [bgcolor=#000000]
      RenderBlock {P} at (0,109) size 784x51 [bgcolor=#808080]
        RenderText {TEXT} at (0,0) size 587x17
          text run at (0,0) width 422: "This element is unstyled save for a background color of gray. "
          text run at (422,0) width 165: "However, it contains an "
        RenderInline {SPAN} at (0,0) size 740x34 [bgcolor=#00FFFF]
          RenderText {TEXT} at (587,0) size 153x17
            text run at (587,0) width 153: "inline element of class"
          RenderInline {TT} at (0,0) size 24x16 [bgcolor=#000000]
            RenderText {TEXT} at (0,18) size 24x16
              text run at (0,18) width 24: "one"
        RenderText {TEXT} at (49,17) size 624x17
          text run at (49,17) width 189: ", which should result in 25-"
          text run at (238,17) width 435: "pixel right padding (which should also be light blue) only in the "
        RenderInline {STRONG} at (0,0) size 27x17 [bgcolor=#000000]
          RenderText {TEXT} at (673,17) size 27x17
            text run at (673,17) width 27: "last"
        RenderText {TEXT} at (700,17) size 746x34
          text run at (700,17) width 46: " line in"
          text run at (0,34) width 201: "which the inline box appears."
      RenderBlock {P} at (0,174) size 784x51 [bgcolor=#808080]
        RenderText {TEXT} at (0,0) size 587x17
          text run at (0,0) width 422: "This element is unstyled save for a background color of gray. "
          text run at (422,0) width 165: "However, it contains an "
        RenderInline {SPAN} at (0,0) size 181x17 [bgcolor=#00FFFF]
          RenderText {TEXT} at (587,0) size 157x17
            text run at (587,0) width 157: "inline element of class "
          RenderInline {TT} at (0,0) size 24x16 [bgcolor=#000000]
            RenderText {TEXT} at (744,1) size 24x16
              text run at (744,1) width 24: "two"
        RenderText {TEXT} at (768,0) size 773x34
          text run at (768,0) width 5: ","
          text run at (0,17) width 643: "which should result in no right padding, since negative padding values are not allowed, in the "
        RenderInline {STRONG} at (0,0) size 27x17 [bgcolor=#000000]
          RenderText {TEXT} at (643,17) size 27x17
            text run at (643,17) width 27: "last"
        RenderText {TEXT} at (670,17) size 760x34
          text run at (670,17) width 90: " line in which"
          text run at (0,34) width 157: "the inline box appears."
      RenderTable {TABLE} at (0,239) size 784x151 [bgcolor=#000000]
        RenderTableSection {TBODY} at (1,1) size 0x149
          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,74) 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 770x124 [r=1 c=1 rs=1 cs=1]
              RenderBlock {P} at (4,4) size 762x51 [bgcolor=#808080]
                RenderText {TEXT} at (0,0) size 587x17
                  text run at (0,0) width 422: "This element is unstyled save for a background color of gray. "
                  text run at (422,0) width 165: "However, it contains an "
                RenderInline {SPAN} at (0,0) size 740x34 [bgcolor=#00FFFF]
                  RenderText {TEXT} at (587,0) size 153x17
                    text run at (587,0) width 153: "inline element of class"
                  RenderInline {TT} at (0,0) size 24x16 [bgcolor=#000000]
                    RenderText {TEXT} at (0,18) size 24x16
                      text run at (0,18) width 24: "one"
                RenderText {TEXT} at (49,17) size 624x17
                  text run at (49,17) width 189: ", which should result in 25-"
                  text run at (238,17) width 435: "pixel right padding (which should also be light blue) only in the "
                RenderInline {STRONG} at (0,0) size 27x17 [bgcolor=#000000]
                  RenderText {TEXT} at (673,17) size 27x17
                    text run at (673,17) width 27: "last"
                RenderText {TEXT} at (700,17) size 746x34
                  text run at (700,17) width 46: " line in"
                  text run at (0,34) width 201: "which the inline box appears."
              RenderBlock {P} at (4,69) size 762x51 [bgcolor=#808080]
                RenderText {TEXT} at (0,0) size 587x17
                  text run at (0,0) width 422: "This element is unstyled save for a background color of gray. "
                  text run at (422,0) width 165: "However, it contains an "
                RenderInline {SPAN} at (0,0) size 740x34 [bgcolor=#00FFFF]
                  RenderText {TEXT} at (587,0) size 153x17
                    text run at (587,0) width 153: "inline element of class"
                  RenderInline {TT} at (0,0) size 24x16 [bgcolor=#000000]
                    RenderText {TEXT} at (0,18) size 24x16
                      text run at (0,18) width 24: "two"
                RenderText {TEXT} at (24,17) size 652x17
                  text run at (24,17) width 652: ", which should result in no right padding, since negative padding values are not allowed, in the "
                RenderInline {STRONG} at (0,0) size 27x17 [bgcolor=#000000]
                  RenderText {TEXT} at (676,17) size 27x17
                    text run at (676,17) width 27: "last"
                RenderText {TEXT} at (703,17) size 749x34
                  text run at (703,17) width 46: " line in"
                  text run at (0,34) width 201: "which the inline box appears."