Index: LayoutTests/platform/mac/css1/box_properties/padding_inline-expected.txt |
diff --git a/LayoutTests/platform/mac/css1/box_properties/padding_inline-expected.txt b/LayoutTests/platform/mac/css1/box_properties/padding_inline-expected.txt |
index c47ad6dea9dd1d4bda3a1a789cfc8b5570f18cd7..b76462c15e952da61b6fc05305837d5c37820c80 100644 |
--- a/LayoutTests/platform/mac/css1/box_properties/padding_inline-expected.txt |
+++ b/LayoutTests/platform/mac/css1/box_properties/padding_inline-expected.txt |
@@ -1,126 +1,126 @@ |
-layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 693 |
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 753 |
RenderView at (0,0) size 800x600 |
-layer at (0,0) size 785x693 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 outlineClip at (0,0) size 785x600 |
- RenderBlock {HTML} at (0,0) size 785x693 |
- RenderBody {BODY} at (8,8) size 769x677 [bgcolor=#CCCCCC] |
- RenderBlock {P} at (0,0) size 769x16 |
- RenderText {#text} at (0,0) size 363x16 |
+layer at (0,0) size 785x753 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 outlineClip at (0,0) size 785x600 |
+ RenderBlock {HTML} at (0,0) size 785x753 |
+ RenderBody {BODY} at (8,8) size 769x737 [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 769x52 |
- RenderText {#text} at (0,0) size 359x52 |
+ RenderBlock {PRE} at (0,34) size 769x60 |
+ RenderText {#text} at (0,0) size 359x60 |
text run at (0,0) width 352: ".zero {background-color: silver; padding: 0;}" |
text run at (351,0) width 1: " " |
- text run at (0,13) width 352: ".one {padding: 25px; background-color: aqua;}" |
- text run at (351,13) width 1: " " |
- text run at (0,26) width 359: ".two {padding: -10px; background-color: aqua;}" |
- text run at (358,26) width 1: " " |
- text run at (0,39) width 0: " " |
- RenderBlock {HR} at (0,97) size 769x2 [border: (1px inset #EEEEEE)] |
- RenderBlock {P} at (0,115) size 769x16 [bgcolor=#C0C0C0] |
- RenderText {#text} at (0,0) size 208x16 |
+ text run at (0,15) width 352: ".one {padding: 25px; background-color: aqua;}" |
+ text run at (351,15) width 1: " " |
+ text run at (0,30) width 359: ".two {padding: -10px; background-color: aqua;}" |
+ text run at (358,30) width 1: " " |
+ text run at (0,45) width 0: " " |
+ RenderBlock {HR} at (0,107) size 769x2 [border: (1px inset #EEEEEE)] |
+ RenderBlock {P} at (0,125) 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,147) size 769x96 [bgcolor=#808080] |
- RenderText {#text} at (0,0) size 487x16 |
+ RenderBlock {P} at (0,159) size 769x108 [bgcolor=#808080] |
+ RenderText {#text} at (0,0) size 487x18 |
text run at (0,0) width 397: "This element is unstyled save for a background color of gray. " |
text run at (396,0) width 91: "It contains an " |
- RenderInline {SPAN} at (0,0) size 764x82 [bgcolor=#00FFFF] |
- RenderText {#text} at (511,0) size 149x16 |
+ RenderInline {SPAN} at (0,0) size 764x86 [bgcolor=#00FFFF] |
+ RenderText {#text} at (511,0) size 149x18 |
text run at (511,0) width 149: "inline element of class " |
- RenderInline {TT} at (0,0) size 24x13 |
- RenderText {#text} at (659,2) size 24x13 |
+ RenderInline {TT} at (0,0) size 24x15 |
+ RenderText {#text} at (659,2) size 24x15 |
text run at (659,2) width 24: "one" |
- RenderText {#text} at (682,0) size 764x32 |
+ RenderText {#text} at (682,0) size 764x36 |
text run at (682,0) width 82: ", giving it an" |
- text run at (0,16) width 240: "aqua background and a 25px padding" |
- RenderText {#text} at (264,16) size 748x80 |
- text run at (264,16) width 9: ". " |
- text run at (272,16) width 469: "Padding on inline elements does not affect line-height calculations, so all" |
- text run at (0,32) width 352: "lines in this element should have the same line-height. " |
- text run at (351,32) width 397: "There may be implementation-specific limits on how much of" |
- text run at (0,48) width 462: "the padding the user agent is able to display above and below each line. " |
- text run at (461,48) width 268: "However, there should be at least 25px of" |
- text run at (0,64) width 745: "padding to the left side of the inline box in the first line it appears, and 25px of padding to the right side of the inline" |
- text run at (0,80) width 286: "element box in the last line where it appears." |
- RenderBlock {P} at (0,259) size 769x16 [bgcolor=#C0C0C0] |
- RenderText {#text} at (0,0) size 208x16 |
+ text run at (0,18) width 240: "aqua background and a 25px padding" |
+ RenderText {#text} at (264,18) size 748x90 |
+ text run at (264,18) width 9: ". " |
+ text run at (272,18) width 469: "Padding on inline elements does not affect line-height calculations, so all" |
+ text run at (0,36) width 352: "lines in this element should have the same line-height. " |
+ text run at (351,36) width 397: "There may be implementation-specific limits on how much of" |
+ text run at (0,54) width 462: "the padding the user agent is able to display above and below each line. " |
+ text run at (461,54) width 268: "However, there should be at least 25px of" |
+ text run at (0,72) width 745: "padding to the left side of the inline box in the first line it appears, and 25px of padding to the right side of the inline" |
+ text run at (0,90) width 286: "element box in the last line where it appears." |
+ RenderBlock {P} at (0,283) 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,291) size 769x48 [bgcolor=#808080] |
- RenderText {#text} at (0,0) size 487x16 |
+ RenderBlock {P} at (0,317) size 769x54 [bgcolor=#808080] |
+ RenderText {#text} at (0,0) size 487x18 |
text run at (0,0) width 397: "This element is unstyled save for a background color of gray. " |
text run at (396,0) width 91: "It contains an " |
- RenderInline {SPAN} at (0,0) size 739x32 [bgcolor=#00FFFF] |
- RenderText {#text} at (486,0) size 149x16 |
+ RenderInline {SPAN} at (0,0) size 739x36 [bgcolor=#00FFFF] |
+ RenderText {#text} at (486,0) size 149x18 |
text run at (486,0) width 149: "inline element of class " |
- RenderInline {TT} at (0,0) size 24x13 |
- RenderText {#text} at (634,2) size 24x13 |
+ RenderInline {TT} at (0,0) size 24x15 |
+ RenderText {#text} at (634,2) size 24x15 |
text run at (634,2) width 24: "two" |
- RenderText {#text} at (657,0) size 739x32 |
+ RenderText {#text} at (657,0) size 739x36 |
text run at (657,0) width 82: ", giving it an" |
- text run at (0,16) width 515: "aqua background and no padding, since negative padding values are not allowed" |
- RenderText {#text} at (514,16) size 755x32 |
- text run at (514,16) width 9: ". " |
- text run at (522,16) width 233: "Padding on inline elements does not" |
- text run at (0,32) width 584: "affect line-height calculations, so all lines in this element should have the same line-height." |
- RenderBlock {P} at (0,355) size 769x16 [bgcolor=#C0C0C0] |
- RenderText {#text} at (0,0) size 208x16 |
+ text run at (0,18) width 515: "aqua background and no padding, since negative padding values are not allowed" |
+ RenderText {#text} at (514,18) size 755x36 |
+ text run at (514,18) width 9: ". " |
+ text run at (522,18) width 233: "Padding on inline elements does not" |
+ text run at (0,36) width 584: "affect line-height calculations, so all lines in this element should have the same line-height." |
+ RenderBlock {P} at (0,387) 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." |
- LayoutTable {TABLE} at (0,387) size 769x290 [border: (1px outset #808080)] |
- LayoutTableSection {TBODY} at (1,1) size 767x288 |
- 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 |
+ LayoutTable {TABLE} at (0,421) size 769x316 [border: (1px outset #808080)] |
+ LayoutTableSection {TBODY} at (1,1) size 767x314 |
+ 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 767x264 |
- LayoutTableCell {TD} at (0,144) 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 767x288 |
+ LayoutTableCell {TD} at (0,157) 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 755x264 [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 755x288 [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 747x96 [bgcolor=#808080] |
- RenderText {#text} at (0,0) size 487x16 |
+ RenderBlock {P} at (4,38) size 747x108 [bgcolor=#808080] |
+ RenderText {#text} at (0,0) size 487x18 |
text run at (0,0) width 397: "This element is unstyled save for a background color of gray. " |
text run at (396,0) width 91: "It contains an " |
- RenderInline {SPAN} at (0,0) size 745x82 [bgcolor=#00FFFF] |
- RenderText {#text} at (511,0) size 149x16 |
+ RenderInline {SPAN} at (0,0) size 745x86 [bgcolor=#00FFFF] |
+ RenderText {#text} at (511,0) size 149x18 |
text run at (511,0) width 149: "inline element of class " |
- RenderInline {TT} at (0,0) size 24x13 |
- RenderText {#text} at (659,2) size 24x13 |
+ RenderInline {TT} at (0,0) size 24x15 |
+ RenderText {#text} at (659,2) size 24x15 |
text run at (659,2) width 24: "one" |
- RenderText {#text} at (682,0) size 745x32 |
+ RenderText {#text} at (682,0) size 745x36 |
text run at (682,0) width 63: ", giving it" |
- text run at (0,16) width 259: "an aqua background and a 25px padding" |
- RenderText {#text} at (283,16) size 740x80 |
- text run at (283,16) width 9: ". " |
- text run at (291,16) width 449: "Padding on inline elements does not affect line-height calculations, so" |
- text run at (0,32) width 372: "all lines in this element should have the same line-height. " |
- text run at (371,32) width 340: "There may be implementation-specific limits on how" |
- text run at (0,48) width 519: "much of the padding the user agent is able to display above and below each line. " |
- text run at (518,48) width 214: "However, there should be at least" |
- text run at (0,64) width 735: "25px of padding to the left side of the inline box in the first line it appears, and 25px of padding to the right side of" |
- text run at (0,80) width 350: "the inline element box in the last line where it appears." |
- RenderBlock {P} at (4,148) size 747x16 [bgcolor=#C0C0C0] |
- RenderText {#text} at (0,0) size 208x16 |
+ text run at (0,18) width 259: "an aqua background and a 25px padding" |
+ RenderText {#text} at (283,18) size 740x90 |
+ text run at (283,18) width 9: ". " |
+ text run at (291,18) width 449: "Padding on inline elements does not affect line-height calculations, so" |
+ text run at (0,36) width 372: "all lines in this element should have the same line-height. " |
+ text run at (371,36) width 340: "There may be implementation-specific limits on how" |
+ text run at (0,54) width 519: "much of the padding the user agent is able to display above and below each line. " |
+ text run at (518,54) width 214: "However, there should be at least" |
+ text run at (0,72) width 735: "25px of padding to the left side of the inline box in the first line it appears, and 25px of padding to the right side of" |
+ text run at (0,90) width 350: "the inline element box in the last line where it appears." |
+ RenderBlock {P} at (4,162) 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,180) size 747x48 [bgcolor=#808080] |
- RenderText {#text} at (0,0) size 487x16 |
+ RenderBlock {P} at (4,196) size 747x54 [bgcolor=#808080] |
+ RenderText {#text} at (0,0) size 487x18 |
text run at (0,0) width 397: "This element is unstyled save for a background color of gray. " |
text run at (396,0) width 91: "It contains an " |
- RenderInline {SPAN} at (0,0) size 739x32 [bgcolor=#00FFFF] |
- RenderText {#text} at (486,0) size 149x16 |
+ RenderInline {SPAN} at (0,0) size 739x36 [bgcolor=#00FFFF] |
+ RenderText {#text} at (486,0) size 149x18 |
text run at (486,0) width 149: "inline element of class " |
- RenderInline {TT} at (0,0) size 24x13 |
- RenderText {#text} at (634,2) size 24x13 |
+ RenderInline {TT} at (0,0) size 24x15 |
+ RenderText {#text} at (634,2) size 24x15 |
text run at (634,2) width 24: "two" |
- RenderText {#text} at (657,0) size 739x32 |
+ RenderText {#text} at (657,0) size 739x36 |
text run at (657,0) width 82: ", giving it an" |
- text run at (0,16) width 515: "aqua background and no padding, since negative padding values are not allowed" |
- RenderText {#text} at (514,16) size 730x32 |
- text run at (514,16) width 9: ". " |
- text run at (522,16) width 208: "Padding on inline elements does" |
- text run at (0,32) width 608: "not affect line-height calculations, so all lines in this element should have the same line-height." |
- RenderBlock {P} at (4,244) size 747x16 [bgcolor=#C0C0C0] |
- RenderText {#text} at (0,0) size 208x16 |
+ text run at (0,18) width 515: "aqua background and no padding, since negative padding values are not allowed" |
+ RenderText {#text} at (514,18) size 730x36 |
+ text run at (514,18) width 9: ". " |
+ text run at (522,18) width 208: "Padding on inline elements does" |
+ text run at (0,36) width 608: "not affect line-height calculations, so all lines in this element should have the same line-height." |
+ RenderBlock {P} at (4,266) 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." |