layer at (0,0) size 800x664 RenderView at (0,0) size 800x600 layer at (0,0) size 800x664 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 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 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 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,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,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,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,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,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,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,0) width 643: "Because this paragraph has width 100%, the auto margins become zero, so it should not be centered."