padding-expected.txt   [plain text]


layer at (0,0) size 800x2148
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x2148
  RenderBlock {HTML} at (0,0) size 800x2148
    RenderBody {BODY} at (8,8) size 784x2132 [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 784x96 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 376x96
          text run at (0,0) width 360: ".zero {background-color: silver; padding: 0;}"
          text run at (0,16) width 144: ".one {padding: 0.5"
          text run at (144,16) width 224: "in; background-color: aqua;}"
          text run at (0,32) width 136: ".two {padding: 25"
          text run at (136,32) width 224: "px; background-color: aqua;}"
          text run at (0,48) width 144: ".three {padding: 5"
          text run at (144,48) width 224: "em; background-color: aqua;}"
          text run at (0,64) width 360: ".four {padding: 25%; background-color: aqua;}"
          text run at (0,80) width 152: ".five {padding: -20"
          text run at (152,80) width 224: "px; background-color: aqua;}"
      RenderBlock {HR} at (1,141) size 782x2 [bgcolor=#000000]
      RenderBlock {P} at (0,157) 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,188) size 784x130 [bgcolor=#00FFFF]
        RenderText {TEXT} at (48,48) size 683x34
          text run at (48,48) width 683: "This element should have an overall padding of half an inch, which will require extra text in order to"
          text run at (48,65) width 35: "test. "
          text run at (83,65) width 506: "Both the content background and the padding should be aqua (light blue)."
      RenderBlock {P} at (0,332) size 784x84 [bgcolor=#00FFFF]
        RenderText {TEXT} at (25,25) size 701x34
          text run at (25,25) width 701: "This element should have an overall padding of 25 pixels, which will require extra text in order to test."
          text run at (25,42) width 506: "Both the content background and the padding should be aqua (light blue)."
      RenderBlock {P} at (0,430) size 784x174 [bgcolor=#00FFFF]
        RenderText {TEXT} at (70,70) size 637x34
          text run at (70,70) width 637: "This element should have an overall padding of 5 em, which will require extra text in order to"
          text run at (70,87) width 35: "test. "
          text run at (105,87) width 506: "Both the content background and the padding should be aqua (light blue)."
      RenderBlock {P} at (0,618) size 784x460 [bgcolor=#00FFFF]
        RenderText {TEXT} at (196,196) size 367x68
          text run at (196,196) width 360: "This element should have an overall padding of 25%,"
          text run at (196,213) width 346: "which is calculated with respect to the width of the"
          text run at (196,230) width 112: "parent element. "
          text run at (308,230) width 255: "Both the content background and the"
          text run at (196,247) width 247: "padding should be aqua (light blue)."
      RenderBlock {P} at (0,1092) size 784x34 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 700x34
          text run at (0,0) width 587: "This element should have no padding, since negative padding values are not allowed. "
          text run at (587,0) width 113: "Both the content"
          text run at (0,17) width 441: "background and the normal padding should be aqua (light blue)."
      RenderTable {TABLE} at (0,1140) size 784x992 [bgcolor=#000000]
        RenderTableSection {TBODY} at (1,1) size 0x990
          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,495) 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 770x965 [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,35) size 762x130 [bgcolor=#00FFFF]
                RenderText {TEXT} at (48,48) size 665x34
                  text run at (48,48) width 665: "This element should have an overall padding of half an inch, which will require extra text in order"
                  text run at (48,65) width 53: "to test. "
                  text run at (101,65) width 506: "Both the content background and the padding should be aqua (light blue)."
              RenderBlock {P} at (4,179) size 762x84 [bgcolor=#00FFFF]
                RenderText {TEXT} at (25,25) size 701x34
                  text run at (25,25) width 701: "This element should have an overall padding of 25 pixels, which will require extra text in order to test."
                  text run at (25,42) width 506: "Both the content background and the padding should be aqua (light blue)."
              RenderBlock {P} at (4,277) size 762x174 [bgcolor=#00FFFF]
                RenderText {TEXT} at (70,70) size 619x34
                  text run at (70,70) width 619: "This element should have an overall padding of 5 em, which will require extra text in order"
                  text run at (70,87) width 53: "to test. "
                  text run at (123,87) width 506: "Both the content background and the padding should be aqua (light blue)."
              RenderBlock {P} at (4,465) size 762x448 [bgcolor=#00FFFF]
                RenderText {TEXT} at (190,190) size 367x68
                  text run at (190,190) width 360: "This element should have an overall padding of 25%,"
                  text run at (190,207) width 346: "which is calculated with respect to the width of the"
                  text run at (190,224) width 112: "parent element. "
                  text run at (302,224) width 255: "Both the content background and the"
                  text run at (190,241) width 247: "padding should be aqua (light blue)."
              RenderBlock {P} at (4,927) size 762x34 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 700x34
                  text run at (0,0) width 587: "This element should have no padding, since negative padding values are not allowed. "
                  text run at (587,0) width 113: "Both the content"
                  text run at (0,17) width 441: "background and the normal padding should be aqua (light blue)."