Index: LayoutTests/platform/mac/css1/box_properties/margin_top-expected.txt |
diff --git a/LayoutTests/platform/mac/css1/box_properties/margin_top-expected.txt b/LayoutTests/platform/mac/css1/box_properties/margin_top-expected.txt |
index f33b36784c6c9d2d437f058cf2c3531b79ed9075..06ecf2cfc8b6050bf49cacadee7df76c7c7212ca 100644 |
--- a/LayoutTests/platform/mac/css1/box_properties/margin_top-expected.txt |
+++ b/LayoutTests/platform/mac/css1/box_properties/margin_top-expected.txt |
@@ -1,138 +1,138 @@ |
-layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1547 |
+layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1639 |
RenderView at (0,0) size 800x600 |
-layer at (0,0) size 785x1547 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 outlineClip at (0,0) size 785x600 |
- RenderBlock {HTML} at (0,0) size 785x1547.25 |
- RenderBody {BODY} at (8,8) size 769x1531.25 [bgcolor=#CCCCCC] |
- RenderBlock {P} at (0,0) size 769x16 |
- RenderText {#text} at (0,0) size 363x16 |
+layer at (0,0) size 785x1639 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 outlineClip at (0,0) size 785x600 |
+ RenderBlock {HTML} at (0,0) size 785x1639.25 |
+ RenderBody {BODY} at (8,8) size 769x1623.25 [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,29) size 769x104 |
- RenderText {#text} at (0,0) size 383x104 |
+ RenderBlock {PRE} at (0,31) size 769x120 |
+ RenderText {#text} at (0,0) size 383x120 |
text run at (0,0) width 375: ".zero {background-color: silver; margin-top: 0;}" |
text run at (374,0) width 1: " " |
- text run at (0,13) width 383: ".one {margin-top: 0.5in; background-color: aqua;}" |
- text run at (382,13) width 1: " " |
- text run at (0,26) width 375: ".two {margin-top: 25px; background-color: aqua;}" |
- text run at (374,26) width 1: " " |
- text run at (0,39) width 383: ".three {margin-top: 5em; background-color: aqua;}" |
- text run at (382,39) width 1: " " |
- text run at (0,52) width 375: ".four {margin-top: 25%; background-color: aqua;}" |
- text run at (374,52) width 1: " " |
- text run at (0,65) width 196: ".five {margin-top: 25px;}" |
- text run at (195,65) width 1: " " |
- text run at (0,78) width 383: ".six {margin-top: -10px; background-color: aqua;}" |
- text run at (382,78) width 1: " " |
- text run at (0,91) width 196: "P, UL {margin-bottom: 0;}" |
- text run at (195,91) width 1: " " |
- RenderBlock {HR} at (0,146) size 769x2 [border: (1px inset #EEEEEE)] |
- RenderBlock {P} at (0,156) size 769x16 [bgcolor=#C0C0C0] |
- RenderText {#text} at (0,0) size 208x16 |
+ text run at (0,15) width 383: ".one {margin-top: 0.5in; background-color: aqua;}" |
+ text run at (382,15) width 1: " " |
+ text run at (0,30) width 375: ".two {margin-top: 25px; background-color: aqua;}" |
+ text run at (374,30) width 1: " " |
+ text run at (0,45) width 383: ".three {margin-top: 5em; background-color: aqua;}" |
+ text run at (382,45) width 1: " " |
+ text run at (0,60) width 375: ".four {margin-top: 25%; background-color: aqua;}" |
+ text run at (374,60) width 1: " " |
+ text run at (0,75) width 196: ".five {margin-top: 25px;}" |
+ text run at (195,75) width 1: " " |
+ text run at (0,90) width 383: ".six {margin-top: -10px; background-color: aqua;}" |
+ text run at (382,90) width 1: " " |
+ text run at (0,105) width 196: "P, UL {margin-bottom: 0;}" |
+ text run at (195,105) width 1: " " |
+ RenderBlock {HR} at (0,164) size 769x2 [border: (1px inset #EEEEEE)] |
+ RenderBlock {P} at (0,174) 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,172) size 769x16 [bgcolor=#C0C0C0] |
- RenderText {#text} at (0,0) size 238x16 |
+ RenderBlock {P} at (0,192) size 769x18 [bgcolor=#C0C0C0] |
+ RenderText {#text} at (0,0) size 238x18 |
text run at (0,0) width 238: "This element also has a class of zero." |
- RenderBlock {P} at (0,236) size 769x32 [bgcolor=#00FFFF] |
- RenderText {#text} at (0,0) size 727x32 |
+ RenderBlock {P} at (0,258) size 769x36 [bgcolor=#00FFFF] |
+ RenderText {#text} at (0,0) size 727x36 |
text run at (0,0) width 727: "This element should have a top margin of half an inch, which will require extra text in order to make sure that the" |
- text run at (0,16) width 209: "margin isn't applied to each line." |
- RenderBlock {P} at (0,293) size 769x32 [bgcolor=#00FFFF] |
- RenderText {#text} at (0,0) size 759x32 |
+ text run at (0,18) width 209: "margin isn't applied to each line." |
+ RenderBlock {P} at (0,319) size 769x36 [bgcolor=#00FFFF] |
+ RenderText {#text} at (0,0) size 759x36 |
text run at (0,0) width 759: "This element should have a top margin of 25 pixels, which will require extra text in order to make sure that the margin" |
- text run at (0,16) width 159: "isn't applied to each line." |
- RenderBlock {P} at (0,405) size 769x32 [bgcolor=#00FFFF] |
- RenderText {#text} at (0,0) size 762x32 |
+ text run at (0,18) width 159: "isn't applied to each line." |
+ RenderBlock {P} at (0,435) size 769x36 [bgcolor=#00FFFF] |
+ RenderText {#text} at (0,0) size 762x36 |
text run at (0,0) width 762: "This element should have a top margin of 5 em, which will require extra text in order to make sure that the margin isn't" |
- text run at (0,16) width 129: "applied to each line." |
- RenderBlock {P} at (0,629.25) size 769x32 [bgcolor=#00FFFF] |
- RenderText {#text} at (0,0) size 769x32 |
+ text run at (0,18) width 129: "applied to each line." |
+ RenderBlock {P} at (0,663.25) size 769x36 [bgcolor=#00FFFF] |
+ RenderText {#text} at (0,0) size 769x36 |
text run at (0,0) width 740: "This element should have a top margin of 25%, which is calculated with respect to the width of the parent element. " |
text run at (739,0) width 30: "This" |
- text run at (0,16) width 240: "will require extra text in order to test." |
- RenderBlock {UL} at (0,686.25) size 769x89 [bgcolor=#00FFFF] |
- RenderListItem {LI} at (40,0) size 729x16 |
- RenderListMarker at (-16,0) size 6x16: bullet |
- RenderText {#text} at (0,0) size 408x16 |
+ text run at (0,18) width 240: "will require extra text in order to test." |
+ RenderBlock {UL} at (0,724.25) size 769x97 [bgcolor=#00FFFF] |
+ RenderListItem {LI} at (40,0) size 729x18 |
+ RenderListMarker at (-17,0) size 7x18: bullet |
+ RenderText {#text} at (0,0) size 408x18 |
text run at (0,0) width 408: "This list has a margin-top of 25px, and a light blue background." |
- RenderListItem {LI} at (40,16) size 729x16 |
- RenderListMarker at (-16,0) size 6x16: bullet |
- RenderText {#text} at (0,0) size 269x16 |
+ RenderListItem {LI} at (40,18) size 729x18 |
+ RenderListMarker at (-17,0) size 7x18: bullet |
+ RenderText {#text} at (0,0) size 269x18 |
text run at (0,0) width 269: "Therefore, it ought to have such a margin." |
- RenderListItem {LI} at (40,57) size 729x16 |
- RenderListMarker at (-16,0) size 6x16: bullet |
- RenderText {#text} at (0,0) size 580x16 |
+ RenderListItem {LI} at (40,61) size 729x18 |
+ RenderListMarker at (-17,0) size 7x18: bullet |
+ RenderText {#text} at (0,0) size 580x18 |
text run at (0,0) width 580: "This list item has a top margin of 25px, which should cause it to be offset in some fashion." |
- RenderListItem {LI} at (40,73) size 729x16 |
- RenderListMarker at (-16,0) size 6x16: bullet |
- RenderText {#text} at (0,0) size 304x16 |
+ RenderListItem {LI} at (40,79) size 729x18 |
+ RenderListMarker at (-17,0) size 7x18: bullet |
+ RenderText {#text} at (0,0) size 304x18 |
text run at (0,0) width 304: "This list item has no special styles applied to it." |
- RenderBlock {P} at (0,775.25) size 769x16 [bgcolor=#C0C0C0] |
- RenderText {#text} at (0,0) size 208x16 |
+ RenderBlock {P} at (0,821.25) 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,781.25) size 769x48 [bgcolor=#00FFFF] |
- RenderText {#text} at (0,0) size 759x48 |
+ RenderBlock {P} at (0,829.25) size 769x54 [bgcolor=#00FFFF] |
+ RenderText {#text} at (0,0) size 759x54 |
text run at (0,0) width 725: "This element has a top margin of -10px, which should cause it to be shifted \"upward\" on the page, and no bottom" |
- text run at (0,16) width 54: "margin. " |
- text run at (53,16) width 498: "No other styles have been applied to it besides a light blue background color. " |
- text run at (550,16) width 209: "In all other respects, the element" |
- text run at (0,32) width 116: "should be normal." |
- LayoutTable {TABLE} at (0,829.25) size 769x702 [border: (1px outset #808080)] |
- LayoutTableSection {TBODY} at (1,1) size 767x700 |
- 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 (0,18) width 54: "margin. " |
+ text run at (53,18) width 498: "No other styles have been applied to it besides a light blue background color. " |
+ text run at (550,18) width 209: "In all other respects, the element" |
+ text run at (0,36) width 116: "should be normal." |
+ LayoutTable {TABLE} at (0,883.25) size 769x740 [border: (1px outset #808080)] |
+ LayoutTableSection {TBODY} at (1,1) size 767x738 |
+ 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 767x676 |
- LayoutTableCell {TD} at (0,350) 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 767x712 |
+ LayoutTableCell {TD} at (0,369) 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 755x675.75 [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 755x711.75 [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,20) size 747x16 [bgcolor=#C0C0C0] |
- RenderText {#text} at (0,0) size 238x16 |
+ RenderBlock {P} at (4,22) size 747x18 [bgcolor=#C0C0C0] |
+ RenderText {#text} at (0,0) size 238x18 |
text run at (0,0) width 238: "This element also has a class of zero." |
- RenderBlock {P} at (4,84) size 747x32 [bgcolor=#00FFFF] |
- RenderText {#text} at (0,0) size 727x32 |
+ RenderBlock {P} at (4,88) size 747x36 [bgcolor=#00FFFF] |
+ RenderText {#text} at (0,0) size 727x36 |
text run at (0,0) width 727: "This element should have a top margin of half an inch, which will require extra text in order to make sure that the" |
- text run at (0,16) width 209: "margin isn't applied to each line." |
- RenderBlock {P} at (4,141) size 747x32 [bgcolor=#00FFFF] |
- RenderText {#text} at (0,0) size 710x32 |
+ text run at (0,18) width 209: "margin isn't applied to each line." |
+ RenderBlock {P} at (4,149) size 747x36 [bgcolor=#00FFFF] |
+ RenderText {#text} at (0,0) size 710x36 |
text run at (0,0) width 710: "This element should have a top margin of 25 pixels, which will require extra text in order to make sure that the" |
- text run at (0,16) width 209: "margin isn't applied to each line." |
- RenderBlock {P} at (4,253) size 747x32 [bgcolor=#00FFFF] |
- RenderText {#text} at (0,0) size 732x32 |
+ text run at (0,18) width 209: "margin isn't applied to each line." |
+ RenderBlock {P} at (4,265) size 747x36 [bgcolor=#00FFFF] |
+ RenderText {#text} at (0,0) size 732x36 |
text run at (0,0) width 732: "This element should have a top margin of 5 em, which will require extra text in order to make sure that the margin" |
- text run at (0,16) width 159: "isn't applied to each line." |
- RenderBlock {P} at (4,471.75) size 747x32 [bgcolor=#00FFFF] |
- RenderText {#text} at (0,0) size 736x32 |
+ text run at (0,18) width 159: "isn't applied to each line." |
+ RenderBlock {P} at (4,487.75) size 747x36 [bgcolor=#00FFFF] |
+ RenderText {#text} at (0,0) size 736x36 |
text run at (0,0) width 736: "This element should have a top margin of 25%, which is calculated with respect to the width of the parent element." |
- text run at (0,16) width 272: "This will require extra text in order to test." |
- RenderBlock {UL} at (4,528.75) size 747x89 [bgcolor=#00FFFF] |
- RenderListItem {LI} at (40,0) size 707x16 |
- RenderListMarker at (-16,0) size 6x16: bullet |
- RenderText {#text} at (0,0) size 408x16 |
+ text run at (0,18) width 272: "This will require extra text in order to test." |
+ RenderBlock {UL} at (4,548.75) size 747x97 [bgcolor=#00FFFF] |
+ RenderListItem {LI} at (40,0) size 707x18 |
+ RenderListMarker at (-17,0) size 7x18: bullet |
+ RenderText {#text} at (0,0) size 408x18 |
text run at (0,0) width 408: "This list has a margin-top of 25px, and a light blue background." |
- RenderListItem {LI} at (40,16) size 707x16 |
- RenderListMarker at (-16,0) size 6x16: bullet |
- RenderText {#text} at (0,0) size 269x16 |
+ RenderListItem {LI} at (40,18) size 707x18 |
+ RenderListMarker at (-17,0) size 7x18: bullet |
+ RenderText {#text} at (0,0) size 269x18 |
text run at (0,0) width 269: "Therefore, it ought to have such a margin." |
- RenderListItem {LI} at (40,57) size 707x16 |
- RenderListMarker at (-16,0) size 6x16: bullet |
- RenderText {#text} at (0,0) size 580x16 |
+ RenderListItem {LI} at (40,61) size 707x18 |
+ RenderListMarker at (-17,0) size 7x18: bullet |
+ RenderText {#text} at (0,0) size 580x18 |
text run at (0,0) width 580: "This list item has a top margin of 25px, which should cause it to be offset in some fashion." |
- RenderListItem {LI} at (40,73) size 707x16 |
- RenderListMarker at (-16,0) size 6x16: bullet |
- RenderText {#text} at (0,0) size 304x16 |
+ RenderListItem {LI} at (40,79) size 707x18 |
+ RenderListMarker at (-17,0) size 7x18: bullet |
+ RenderText {#text} at (0,0) size 304x18 |
text run at (0,0) width 304: "This list item has no special styles applied to it." |
- RenderBlock {P} at (4,617.75) size 747x16 [bgcolor=#C0C0C0] |
- RenderText {#text} at (0,0) size 208x16 |
+ RenderBlock {P} at (4,645.75) 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,623.75) size 747x48 [bgcolor=#00FFFF] |
- RenderText {#text} at (0,0) size 725x48 |
+ RenderBlock {P} at (4,653.75) size 747x54 [bgcolor=#00FFFF] |
+ RenderText {#text} at (0,0) size 725x54 |
text run at (0,0) width 725: "This element has a top margin of -10px, which should cause it to be shifted \"upward\" on the page, and no bottom" |
- text run at (0,16) width 54: "margin. " |
- text run at (53,16) width 498: "No other styles have been applied to it besides a light blue background color. " |
- text run at (550,16) width 154: "In all other respects, the" |
- text run at (0,32) width 170: "element should be normal." |
+ text run at (0,18) width 54: "margin. " |
+ text run at (53,18) width 498: "No other styles have been applied to it besides a light blue background color. " |
+ text run at (550,18) width 154: "In all other respects, the" |
+ text run at (0,36) width 170: "element should be normal." |