Index: LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt |
diff --git a/LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt b/LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt |
index 252f4177541f594307b3a123439ef8701a4e3876..046cca31e1ed9be0be0d638072dcad5d812117d9 100644 |
--- a/LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt |
+++ b/LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt |
@@ -1,135 +1,135 @@ |
-layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1071 |
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1171 |
RenderView at (0,0) size 800x600 |
-layer at (0,0) size 785x1071 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 outlineClip at (0,0) size 785x600 |
- RenderBlock {HTML} at (0,0) size 785x1071 |
- RenderBody {BODY} at (8,8) size 769x1055 [bgcolor=#CCCCCC] |
- RenderBlock {P} at (0,0) size 769x16 |
- RenderText {#text} at (0,0) size 363x16 |
+layer at (0,0) size 785x1171 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 outlineClip at (0,0) size 785x600 |
+ RenderBlock {HTML} at (0,0) size 785x1171 |
+ RenderBody {BODY} at (8,8) size 769x1155 [bgcolor=#CCCCCC] |
+ RenderBlock {P} at (0,0) size 769x18 |
+ RenderText {#text} at (0,0) size 363x18 |
text run at (0,0) width 363: "The style declarations which apply to the text below are:" |
- RenderBlock {PRE} at (0,32) size 769x78 |
- RenderText {#text} at (0,0) size 562x78 |
+ RenderBlock {PRE} at (0,34) size 769x90 |
+ RenderText {#text} at (0,0) size 562x90 |
text run at (0,0) width 398: ".zero {background-color: silver; padding-right: 0;}" |
text run at (397,0) width 1: " " |
- text run at (0,13) width 554: ".one {padding-right: 0.5in; text-align: right; background-color: aqua;}" |
- text run at (553,13) width 1: " " |
- text run at (0,26) width 547: ".two {padding-right: 25px; text-align: right; background-color: aqua;}" |
- text run at (546,26) width 1: " " |
- text run at (0,39) width 554: ".three {padding-right: 5em; text-align: right; background-color: aqua;}" |
- text run at (553,39) width 1: " " |
- text run at (0,52) width 547: ".four {padding-right: 25%; text-align: right; background-color: aqua;}" |
- text run at (546,52) width 1: " " |
- text run at (0,65) width 562: ".five {padding-right: -20px; text-align: right; background-color: aqua;}" |
- text run at (561,65) width 1: " " |
- RenderBlock {HR} at (0,123) size 769x2 [border: (1px inset #EEEEEE)] |
- RenderBlock {P} at (0,141) size 769x16 [bgcolor=#C0C0C0] |
- RenderText {#text} at (0,0) size 208x16 |
+ text run at (0,15) width 554: ".one {padding-right: 0.5in; text-align: right; background-color: aqua;}" |
+ text run at (553,15) width 1: " " |
+ text run at (0,30) width 547: ".two {padding-right: 25px; text-align: right; background-color: aqua;}" |
+ text run at (546,30) width 1: " " |
+ text run at (0,45) width 554: ".three {padding-right: 5em; text-align: right; background-color: aqua;}" |
+ text run at (553,45) width 1: " " |
+ text run at (0,60) width 547: ".four {padding-right: 25%; text-align: right; background-color: aqua;}" |
+ text run at (546,60) width 1: " " |
+ text run at (0,75) width 562: ".five {padding-right: -20px; text-align: right; background-color: aqua;}" |
+ text run at (561,75) width 1: " " |
+ RenderBlock {HR} at (0,137) size 769x2 [border: (1px inset #EEEEEE)] |
+ RenderBlock {P} at (0,155) size 769x18 [bgcolor=#C0C0C0] |
+ RenderText {#text} at (0,0) size 208x18 |
text run at (0,0) width 208: "This element has a class of zero." |
- RenderBlock {P} at (0,173) size 769x48 [bgcolor=#00FFFF] |
- RenderText {#text} at (10,0) size 711x48 |
+ RenderBlock {P} at (0,189) size 769x54 [bgcolor=#00FFFF] |
+ RenderText {#text} at (10,0) size 711x54 |
text run at (10,0) width 657: "This element should have a right padding of half an inch, which will require extra text in order to test. " |
text run at (666,0) width 55: "Both the" |
- text run at (34,16) width 418: "content background and the padding should be aqua (light blue). " |
- text run at (451,16) width 270: "The text has been right-aligned in order to" |
- text run at (486,32) width 235: "make the right padding easier to see." |
- RenderBlock {P} at (0,237) size 769x48 [bgcolor=#00FFFF] |
- RenderText {#text} at (50,0) size 725x48 |
+ text run at (34,18) width 418: "content background and the padding should be aqua (light blue). " |
+ text run at (451,18) width 270: "The text has been right-aligned in order to" |
+ text run at (486,36) width 235: "make the right padding easier to see." |
+ RenderBlock {P} at (0,259) size 769x54 [bgcolor=#00FFFF] |
+ RenderText {#text} at (50,0) size 725x54 |
text run at (50,0) width 640: "This element should have a right padding of 25 pixels, which will require extra text in order to test. " |
text run at (689,0) width 55: "Both the" |
- text run at (19,16) width 417: "content background and the padding should be aqua (light blue). " |
- text run at (435,16) width 309: "The text has been right-aligned in order to make" |
- text run at (548,32) width 196: "the right padding easier to see." |
- RenderBlock {P} at (0,301) size 769x48 [bgcolor=#00FFFF] |
- RenderText {#text} at (22,0) size 687x48 |
+ text run at (19,18) width 417: "content background and the padding should be aqua (light blue). " |
+ text run at (435,18) width 309: "The text has been right-aligned in order to make" |
+ text run at (548,36) width 196: "the right padding easier to see." |
+ RenderBlock {P} at (0,329) size 769x54 [bgcolor=#00FFFF] |
+ RenderText {#text} at (22,0) size 687x54 |
text run at (22,0) width 613: "This element should have a right padding of 5 em, which will require extra text in order to test. " |
text run at (634,0) width 55: "Both the" |
- text run at (2,16) width 418: "content background and the padding should be aqua (light blue). " |
- text run at (419,16) width 270: "The text has been right-aligned in order to" |
- text run at (454,32) width 235: "make the right padding easier to see." |
- RenderBlock {P} at (0,365) size 769x64 [bgcolor=#00FFFF] |
- RenderText {#text} at (8,0) size 576x64 |
+ text run at (2,18) width 418: "content background and the padding should be aqua (light blue). " |
+ text run at (419,18) width 270: "The text has been right-aligned in order to" |
+ text run at (454,36) width 235: "make the right padding easier to see." |
+ RenderBlock {P} at (0,399) size 769x72 [bgcolor=#00FFFF] |
+ RenderText {#text} at (8,0) size 576x72 |
text run at (8,0) width 569: "This element should have a right padding of 25%, which is calculated with respect to the" |
- text run at (1,16) width 185: "width of the parent element. " |
- text run at (185,16) width 392: "Both the content background and the padding should be aqua" |
- text run at (17,32) width 81: "(light blue). " |
- text run at (97,32) width 480: "The text has been right-aligned in order to make the right padding easier to" |
- text run at (552,48) width 25: "see." |
- RenderBlock {UL} at (0,445) size 769x64 [bgcolor=#808080] |
- RenderListItem {LI} at (40,0) size 704x32 |
- RenderListMarker at (-16,0) size 6x16: bullet |
- RenderText {#text} at (8,0) size 696x32 |
+ text run at (1,18) width 185: "width of the parent element. " |
+ text run at (185,18) width 392: "Both the content background and the padding should be aqua" |
+ text run at (17,36) width 81: "(light blue). " |
+ text run at (97,36) width 480: "The text has been right-aligned in order to make the right padding easier to" |
+ text run at (552,54) width 25: "see." |
+ RenderBlock {UL} at (0,487) size 769x72 [bgcolor=#808080] |
+ RenderListItem {LI} at (40,0) size 704x36 |
+ RenderListMarker at (-17,0) size 7x18: bullet |
+ RenderText {#text} at (8,0) size 696x36 |
text run at (8,0) width 696: "The right padding on this unordered list has been set to 25 pixels, which will require some extra text in order" |
- text run at (661,16) width 43: "to test." |
- RenderListItem {LI} at (40,32) size 704x32 [bgcolor=#FFFFFF] |
- RenderListMarker at (-16,0) size 6x16: bullet |
- RenderText {#text} at (5,0) size 674x32 |
+ text run at (661,18) width 43: "to test." |
+ RenderListItem {LI} at (40,36) size 704x36 [bgcolor=#FFFFFF] |
+ RenderListMarker at (-17,0) size 7x18: bullet |
+ RenderText {#text} at (5,0) size 674x36 |
text run at (5,0) width 674: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the UL" |
- text run at (624,16) width 55: "element." |
- RenderBlock {P} at (0,525) size 769x48 [bgcolor=#00FFFF] |
- RenderText {#text} at (79,0) size 747x48 |
+ text run at (624,18) width 55: "element." |
+ RenderBlock {P} at (0,575) size 769x54 [bgcolor=#00FFFF] |
+ RenderText {#text} at (79,0) size 747x54 |
text run at (79,0) width 585: "This element should have no right padding, since negative padding values are not allowed. " |
text run at (663,0) width 106: "Both the content" |
- text run at (22,16) width 416: "background and the normal padding should be aqua (light blue). " |
- text run at (437,16) width 332: "The text has been right-aligned in order to make the" |
- text run at (549,32) width 220: "lack of right padding easier to see." |
- LayoutTable {TABLE} at (0,589) size 769x466 [border: (1px outset #808080)] |
- LayoutTableSection {TBODY} at (1,1) size 767x464 |
- LayoutTableRow {TR} at (0,0) size 767x24 |
- LayoutTableCell {TD} at (0,0) size 767x24 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2] |
- RenderInline {STRONG} at (0,0) size 163x16 |
- RenderText {#text} at (4,4) size 163x16 |
+ text run at (22,18) width 416: "background and the normal padding should be aqua (light blue). " |
+ text run at (437,18) width 332: "The text has been right-aligned in order to make the" |
+ text run at (549,36) width 220: "lack of right padding easier to see." |
+ LayoutTable {TABLE} at (0,645) size 769x510 [border: (1px outset #808080)] |
+ LayoutTableSection {TBODY} at (1,1) size 767x508 |
+ LayoutTableRow {TR} at (0,0) size 767x26 |
+ LayoutTableCell {TD} at (0,0) size 767x26 [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" |
- LayoutTableRow {TR} at (0,24) size 767x440 |
- LayoutTableCell {TD} at (0,232) size 12x24 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1] |
- RenderText {#text} at (4,4) size 4x16 |
+ LayoutTableRow {TR} at (0,26) size 767x482 |
+ LayoutTableCell {TD} at (0,254) 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: " " |
- LayoutTableCell {TD} at (12,24) size 755x440 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1] |
- RenderBlock {P} at (4,4) size 747x16 [bgcolor=#C0C0C0] |
- RenderText {#text} at (0,0) size 208x16 |
+ LayoutTableCell {TD} at (12,26) size 755x482 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1] |
+ RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0] |
+ RenderText {#text} at (0,0) size 208x18 |
text run at (0,0) width 208: "This element has a class of zero." |
- RenderBlock {P} at (4,36) size 747x48 [bgcolor=#00FFFF] |
- RenderText {#text} at (12,0) size 694x48 |
+ RenderBlock {P} at (4,38) size 747x54 [bgcolor=#00FFFF] |
+ RenderText {#text} at (12,0) size 694x54 |
text run at (12,0) width 656: "This element should have a right padding of half an inch, which will require extra text in order to test. " |
text run at (667,0) width 32: "Both" |
- text run at (5,16) width 441: "the content background and the padding should be aqua (light blue). " |
- text run at (445,16) width 254: "The text has been right-aligned in order" |
- text run at (448,32) width 251: "to make the right padding easier to see." |
- RenderBlock {P} at (4,100) size 747x48 [bgcolor=#00FFFF] |
- RenderText {#text} at (28,0) size 694x48 |
+ text run at (5,18) width 441: "the content background and the padding should be aqua (light blue). " |
+ text run at (445,18) width 254: "The text has been right-aligned in order" |
+ text run at (448,36) width 251: "to make the right padding easier to see." |
+ RenderBlock {P} at (4,108) size 747x54 [bgcolor=#00FFFF] |
+ RenderText {#text} at (28,0) size 694x54 |
text run at (28,0) width 640: "This element should have a right padding of 25 pixels, which will require extra text in order to test. " |
text run at (667,0) width 55: "Both the" |
- text run at (35,16) width 418: "content background and the padding should be aqua (light blue). " |
- text run at (452,16) width 270: "The text has been right-aligned in order to" |
- text run at (487,32) width 235: "make the right padding easier to see." |
- RenderBlock {P} at (4,164) size 747x48 [bgcolor=#00FFFF] |
- RenderText {#text} at (0,0) size 667x48 |
+ text run at (35,18) width 418: "content background and the padding should be aqua (light blue). " |
+ text run at (452,18) width 270: "The text has been right-aligned in order to" |
+ text run at (487,36) width 235: "make the right padding easier to see." |
+ RenderBlock {P} at (4,178) size 747x54 [bgcolor=#00FFFF] |
+ RenderText {#text} at (0,0) size 667x54 |
text run at (0,0) width 613: "This element should have a right padding of 5 em, which will require extra text in order to test. " |
text run at (612,0) width 55: "Both the" |
- text run at (35,16) width 417: "content background and the padding should be aqua (light blue). " |
- text run at (451,16) width 216: "The text has been right-aligned in" |
- text run at (378,32) width 289: "order to make the right padding easier to see." |
- RenderBlock {P} at (4,228) size 747x64 [bgcolor=#00FFFF] |
- RenderText {#text} at (15,0) size 556x64 |
+ text run at (35,18) width 417: "content background and the padding should be aqua (light blue). " |
+ text run at (451,18) width 216: "The text has been right-aligned in" |
+ text run at (378,36) width 289: "order to make the right padding easier to see." |
+ RenderBlock {P} at (4,248) size 747x72 [bgcolor=#00FFFF] |
+ RenderText {#text} at (15,0) size 556x72 |
text run at (15,0) width 546: "This element should have a right padding of 25%, which is calculated with respect to" |
- text run at (14,16) width 209: "the width of the parent element. " |
- text run at (222,16) width 339: "Both the content background and the padding should" |
- text run at (5,32) width 134: "be aqua (light blue). " |
- text run at (138,32) width 423: "The text has been right-aligned in order to make the right padding" |
- text run at (478,48) width 83: "easier to see." |
- RenderBlock {UL} at (4,308) size 747x64 [bgcolor=#808080] |
- RenderListItem {LI} at (40,0) size 682x32 |
- RenderListMarker at (-16,0) size 6x16: bullet |
- RenderText {#text} at (24,0) size 658x32 |
+ text run at (14,18) width 209: "the width of the parent element. " |
+ text run at (222,18) width 339: "Both the content background and the padding should" |
+ text run at (5,36) width 134: "be aqua (light blue). " |
+ text run at (138,36) width 423: "The text has been right-aligned in order to make the right padding" |
+ text run at (478,54) width 83: "easier to see." |
+ RenderBlock {UL} at (4,336) size 747x72 [bgcolor=#808080] |
+ RenderListItem {LI} at (40,0) size 682x36 |
+ RenderListMarker at (-17,0) size 7x18: bullet |
+ RenderText {#text} at (24,0) size 658x36 |
text run at (24,0) width 658: "The right padding on this unordered list has been set to 25 pixels, which will require some extra text in" |
- text run at (601,16) width 81: "order to test." |
- RenderListItem {LI} at (40,32) size 682x32 [bgcolor=#FFFFFF] |
- RenderListMarker at (-16,0) size 6x16: bullet |
- RenderText {#text} at (9,0) size 648x32 |
+ text run at (601,18) width 81: "order to test." |
+ RenderListItem {LI} at (40,36) size 682x36 [bgcolor=#FFFFFF] |
+ RenderListMarker at (-17,0) size 7x18: bullet |
+ RenderText {#text} at (9,0) size 648x36 |
text run at (9,0) width 648: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the" |
- text run at (577,16) width 80: "UL element." |
- RenderBlock {P} at (4,388) size 747x48 [bgcolor=#00FFFF] |
- RenderText {#text} at (57,0) size 747x48 |
+ text run at (577,18) width 80: "UL element." |
+ RenderBlock {P} at (4,424) size 747x54 [bgcolor=#00FFFF] |
+ RenderText {#text} at (57,0) size 747x54 |
text run at (57,0) width 585: "This element should have no right padding, since negative padding values are not allowed. " |
text run at (641,0) width 106: "Both the content" |
- text run at (0,16) width 416: "background and the normal padding should be aqua (light blue). " |
- text run at (415,16) width 332: "The text has been right-aligned in order to make the" |
- text run at (527,32) width 220: "lack of right padding easier to see." |
+ text run at (0,18) width 416: "background and the normal padding should be aqua (light blue). " |
+ text run at (415,18) width 332: "The text has been right-aligned in order to make the" |
+ text run at (527,36) width 220: "lack of right padding easier to see." |