padding-expected.txt [plain text]
layer at (0,0) size 800x2235
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x2235
RenderBlock {HTML} at (0,0) size 800x2235
RenderBody {BODY} at (8,8) size 784x2219 [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 784x90
RenderText {TEXT} at (0,0) size 376x90
text run at (0,0) width 360: ".zero {background-color: silver; padding: 0;}"
text run at (0,15) width 144: ".one {padding: 0.5"
text run at (144,15) width 224: "in; background-color: aqua;}"
text run at (0,30) width 136: ".two {padding: 25"
text run at (136,30) width 224: "px; background-color: aqua;}"
text run at (0,45) width 144: ".three {padding: 5"
text run at (144,45) width 224: "em; background-color: aqua;}"
text run at (0,60) width 360: ".four {padding: 25%; background-color: aqua;}"
text run at (0,75) width 152: ".five {padding: -20"
text run at (152,75) width 224: "px; background-color: aqua;}"
RenderBlock {HR} at (0,137) size 784x2 [border: (1px inset #000000)]
RenderBlock {P} at (0,155) 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,189) size 784x132 [bgcolor=#00FFFF]
RenderText {TEXT} at (48,48) size 660x36
text run at (48,48) width 660: "This element should have an overall padding of half an inch, which will require extra text in order to test."
text run at (48,66) width 464: "Both the content background and the padding should be aqua (light blue)."
RenderBlock {P} at (0,337) size 784x86 [bgcolor=#00FFFF]
RenderText {TEXT} at (25,25) size 701x36
text run at (25,25) width 647: "This element should have an overall padding of 25 pixels, which will require extra text in order to test. "
text run at (672,25) width 54: "Both the"
text run at (25,43) width 406: "content background and the padding should be aqua (light blue)."
RenderBlock {P} at (0,439) size 784x196 [bgcolor=#00FFFF]
RenderText {TEXT} at (80,80) size 617x36
text run at (80,80) width 617: "This element should have an overall padding of 5 em, which will require extra text in order to test."
text run at (80,98) width 464: "Both the content background and the padding should be aqua (light blue)."
RenderBlock {P} at (0,651) size 784x464 [bgcolor=#00FFFF]
RenderText {TEXT} at (196,196) size 387x72
text run at (196,196) width 379: "This element should have an overall padding of 25%, which"
text run at (196,214) width 376: "is calculated with respect to the width of the parent element."
text run at (196,232) width 387: "Both the content background and the padding should be aqua"
text run at (196,250) width 73: "(light blue)."
RenderBlock {P} at (0,1131) size 784x36 [bgcolor=#00FFFF]
RenderText {TEXT} at (0,0) size 774x36
text run at (0,0) width 541: "This element should have no padding, since negative padding values are not allowed. "
text run at (541,0) width 233: "Both the content background and the"
text run at (0,18) width 275: "normal padding should be aqua (light blue)."
RenderTable {TABLE} at (0,1183) size 784x1036 [border: (1px outset #808080)]
RenderTableSection {TBODY} at (1,1) size 0x1034
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,517) 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 770x1008 [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 762x132 [bgcolor=#00FFFF]
RenderText {TEXT} at (48,48) size 660x36
text run at (48,48) width 660: "This element should have an overall padding of half an inch, which will require extra text in order to test."
text run at (48,66) width 464: "Both the content background and the padding should be aqua (light blue)."
RenderBlock {P} at (4,186) size 762x86 [bgcolor=#00FFFF]
RenderText {TEXT} at (25,25) size 701x36
text run at (25,25) width 647: "This element should have an overall padding of 25 pixels, which will require extra text in order to test. "
text run at (672,25) width 54: "Both the"
text run at (25,43) width 406: "content background and the padding should be aqua (light blue)."
RenderBlock {P} at (4,288) size 762x196 [bgcolor=#00FFFF]
RenderText {TEXT} at (80,80) size 588x36
text run at (80,80) width 588: "This element should have an overall padding of 5 em, which will require extra text in order to"
text run at (80,98) width 29: "test. "
text run at (109,98) width 464: "Both the content background and the padding should be aqua (light blue)."
RenderBlock {P} at (4,500) size 762x452 [bgcolor=#00FFFF]
RenderText {TEXT} at (190,190) size 379x72
text run at (190,190) width 379: "This element should have an overall padding of 25%, which"
text run at (190,208) width 376: "is calculated with respect to the width of the parent element."
text run at (190,226) width 353: "Both the content background and the padding should be"
text run at (190,244) width 107: "aqua (light blue)."
RenderBlock {P} at (4,968) size 762x36 [bgcolor=#00FFFF]
RenderText {TEXT} at (0,0) size 751x36
text run at (0,0) width 541: "This element should have no padding, since negative padding values are not allowed. "
text run at (541,0) width 210: "Both the content background and"
text run at (0,18) width 298: "the normal padding should be aqua (light blue)."