Index: LayoutTests/platform/mac/css1/formatting_model/horizontal_formatting-expected.txt |
diff --git a/LayoutTests/platform/mac/css1/formatting_model/horizontal_formatting-expected.txt b/LayoutTests/platform/mac/css1/formatting_model/horizontal_formatting-expected.txt |
index d659fd16b4ada250fa5c9f1ae06ae92164428fa2..2d168d30b9899f970caff428a5101b66774acfb0 100644 |
--- a/LayoutTests/platform/mac/css1/formatting_model/horizontal_formatting-expected.txt |
+++ b/LayoutTests/platform/mac/css1/formatting_model/horizontal_formatting-expected.txt |
@@ -1,65 +1,65 @@ |
-layer at (0,0) size 800x600 scrollHeight 664 |
+layer at (0,0) size 800x600 scrollHeight 726 |
RenderView at (0,0) size 800x600 |
-layer at (0,0) size 800x664 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600 outlineClip at (0,0) size 800x600 |
- RenderBlock {HTML} at (0,0) size 800x664 |
- RenderBody {BODY} at (8,8) size 784x640 [bgcolor=#CCCCCC] |
- RenderBlock {P} at (10,0) size 774x16 |
- RenderText {#text} at (0,0) size 292x16 |
+layer at (0,0) size 800x726 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600 outlineClip at (0,0) size 800x600 |
+ RenderBlock {HTML} at (0,0) size 800x726 |
+ RenderBody {BODY} at (8,8) size 784x702 [bgcolor=#CCCCCC] |
+ RenderBlock {P} at (10,0) size 774x18 |
+ RenderText {#text} at (0,0) size 292x18 |
text run at (0,0) width 292: "This paragraph should be indented ten pixels." |
- RenderBlock {DIV} at (10,32) size 774x16 |
- RenderBlock {P} at (10,0) size 764x16 |
- RenderText {#text} at (0,0) size 582x16 |
+ RenderBlock {DIV} at (10,34) size 774x18 |
+ RenderBlock {P} at (10,0) size 764x18 |
+ RenderText {#text} at (0,0) size 582x18 |
text run at (0,0) width 582: "This paragraph should be indented twenty pixels, since horizontal margins do not collapse." |
- RenderBlock {P} at (0,64) size 392x96 [bgcolor=#808080] |
- RenderText {#text} at (0,0) size 381x96 |
+ RenderBlock {P} at (0,68) size 392x108 [bgcolor=#808080] |
+ RenderText {#text} at (0,0) size 381x108 |
text run at (0,0) width 368: "This element has a width of 50%, and due to 'auto' values" |
- text run at (0,16) width 344: "applied to the right margin, the element should be left" |
- text run at (0,32) width 169: "justified within its parent. " |
- text run at (168,32) width 168: "The gray rectangle should" |
- text run at (0,48) width 366: "therefore appear on the left edge of the viewport (e.g. the" |
- text run at (0,64) width 381: "browser window). The text inside the gray rectangle should" |
- text run at (0,80) width 102: "not be centered." |
- RenderBlock {P} at (196,176) size 392x96 [bgcolor=#808080] |
- RenderText {#text} at (0,0) size 381x96 |
+ text run at (0,18) width 344: "applied to the right margin, the element should be left" |
+ text run at (0,36) width 169: "justified within its parent. " |
+ text run at (168,36) width 168: "The gray rectangle should" |
+ text run at (0,54) width 366: "therefore appear on the left edge of the viewport (e.g. the" |
+ text run at (0,72) width 381: "browser window). The text inside the gray rectangle should" |
+ text run at (0,90) width 102: "not be centered." |
+ RenderBlock {P} at (196,192) size 392x108 [bgcolor=#808080] |
+ RenderText {#text} at (0,0) size 381x108 |
text run at (0,0) width 368: "This element has a width of 50%, and due to 'auto' values" |
- text run at (0,16) width 378: "applied to the left and right margins, the element should be" |
- text run at (0,32) width 171: "centered within its parent. " |
- text run at (170,32) width 167: "The gray rectangle should" |
- text run at (0,48) width 351: "therefore appear in the middle of the viewport (e.g. the" |
- text run at (0,64) width 381: "browser window). The text inside the gray rectangle should" |
- text run at (0,80) width 102: "not be centered." |
- RenderBlock {P} at (392,288) size 392x96 [bgcolor=#808080] |
- RenderText {#text} at (0,0) size 381x96 |
+ text run at (0,18) width 378: "applied to the left and right margins, the element should be" |
+ text run at (0,36) width 171: "centered within its parent. " |
+ text run at (170,36) width 167: "The gray rectangle should" |
+ text run at (0,54) width 351: "therefore appear in the middle of the viewport (e.g. the" |
+ text run at (0,72) width 381: "browser window). The text inside the gray rectangle should" |
+ text run at (0,90) width 102: "not be centered." |
+ RenderBlock {P} at (392,316) size 392x108 [bgcolor=#808080] |
+ RenderText {#text} at (0,0) size 381x108 |
text run at (0,0) width 368: "This element has a width of 50%, and due to 'auto' values" |
- text run at (0,16) width 344: "applied to the left margin, the element should be right" |
- text run at (0,32) width 169: "justified within its parent. " |
- text run at (168,32) width 168: "The gray rectangle should" |
- text run at (0,48) width 375: "therefore appear on the right edge of the viewport (e.g. the" |
- text run at (0,64) width 381: "browser window). The text inside the gray rectangle should" |
- text run at (0,80) width 102: "not be centered." |
- RenderBlock {P} at (0,400) size 784x32 [bgcolor=#808080] |
- RenderText {#text} at (0,0) size 774x32 |
+ text run at (0,18) width 344: "applied to the left margin, the element should be right" |
+ text run at (0,36) width 169: "justified within its parent. " |
+ text run at (168,36) width 168: "The gray rectangle should" |
+ text run at (0,54) width 375: "therefore appear on the right edge of the viewport (e.g. the" |
+ text run at (0,72) width 381: "browser window). The text inside the gray rectangle should" |
+ text run at (0,90) width 102: "not be centered." |
+ RenderBlock {P} at (0,440) size 784x36 [bgcolor=#808080] |
+ RenderText {#text} at (0,0) size 774x36 |
text run at (0,0) width 774: "Since the width is \"auto,\" the margins that are set to \"auto\" become zero and this paragraph should have width 100% and" |
- text run at (0,16) width 200: "the text should be left justified." |
- RenderBlock {P} at (0,448) size 784x32 [bgcolor=#808080] |
- RenderText {#text} at (0,0) size 774x32 |
+ text run at (0,18) width 200: "the text should be left justified." |
+ RenderBlock {P} at (0,492) size 784x36 [bgcolor=#808080] |
+ RenderText {#text} at (0,0) size 774x36 |
text run at (0,0) width 774: "Since the width is \"auto,\" the margins that are set to \"auto\" become zero and this paragraph should have width 100% and" |
- text run at (0,16) width 200: "the text should be left justified." |
- RenderBlock {P} at (0,496) size 784x32 [bgcolor=#808080] |
- RenderText {#text} at (0,0) size 774x32 |
+ text run at (0,18) width 200: "the text should be left justified." |
+ RenderBlock {P} at (0,544) size 784x36 [bgcolor=#808080] |
+ RenderText {#text} at (0,0) size 774x36 |
text run at (0,0) width 774: "Since the width is \"auto,\" the margins that are set to \"auto\" become zero and this paragraph should have width 100% and" |
- text run at (0,16) width 200: "the text should be left justified." |
- RenderBlock {P} at (0,544) size 392x64 [bgcolor=#808080] |
- RenderText {#text} at (0,0) size 379x32 |
+ text run at (0,18) width 200: "the text should be left justified." |
+ RenderBlock {P} at (0,596) size 392x72 [bgcolor=#808080] |
+ RenderText {#text} at (0,0) size 379x36 |
text run at (0,0) width 379: "Since auto is an invalid value for padding, the right-margin" |
- text run at (0,16) width 229: "of this paragraph should be reset to " |
- RenderInline {CODE} at (0,0) size 33x13 |
- RenderText {#text} at (228,18) size 33x13 |
- text run at (228,18) width 33: "auto" |
- RenderText {#text} at (260,16) size 376x48 |
- text run at (260,16) width 77: " and thus be" |
- text run at (0,32) width 376: "expanded to 50% and it should only occupy the left half of" |
- text run at (0,48) width 85: "the viewport." |
- RenderBlock {P} at (0,624) size 784x16 [bgcolor=#808080] |
- RenderText {#text} at (0,0) size 643x16 |
+ text run at (0,18) width 229: "of this paragraph should be reset to " |
+ RenderInline {CODE} at (0,0) size 33x15 |
+ RenderText {#text} at (228,20) size 33x15 |
+ text run at (228,20) width 33: "auto" |
+ RenderText {#text} at (260,18) size 376x54 |
+ text run at (260,18) width 77: " and thus be" |
+ text run at (0,36) width 376: "expanded to 50% and it should only occupy the left half of" |
+ text run at (0,54) width 85: "the viewport." |
+ RenderBlock {P} at (0,684) size 784x18 [bgcolor=#808080] |
+ RenderText {#text} at (0,0) size 643x18 |
text run at (0,0) width 643: "Because this paragraph has width 100%, the auto margins become zero, so it should not be centered." |