1 layer at (0,0) size 800x672
2 RenderCanvas at (0,0) size 800x600
3 layer at (0,0) size 800x672
4 RenderBlock {HTML} at (0,0) size 800x672
5 RenderBody {BODY} at (8,8) size 784x648 [bgcolor=#CCCCCC]
6 RenderBlock {P} at (10,0) size 774x18
7 RenderText {TEXT} at (0,0) size 286x18
8 text run at (0,0) width 286: "This paragraph should be indented ten pixels."
9 RenderBlock {DIV} at (10,34) size 774x18
10 RenderBlock {P} at (10,0) size 764x18
11 RenderText {TEXT} at (0,0) size 570x18
12 text run at (0,0) width 570: "This paragraph should be indented twenty pixels, since horizontal margins do not collapse."
13 RenderBlock {P} at (0,68) size 392x90 [bgcolor=#808080]
14 RenderText {TEXT} at (0,0) size 389x90
15 text run at (0,0) width 362: "This element has a width of 50%, and due to 'auto' values"
16 text run at (0,18) width 389: "applied to the right margin, the element should be left justified"
17 text run at (0,36) width 109: "within its parent. "
18 text run at (109,36) width 270: "The gray rectangle should therefore appear"
19 text run at (0,54) width 372: "on the left edge of the viewport (e.g. the browser window)."
20 text run at (0,72) width 359: "The text inside the gray rectangle should not be centered."
21 RenderBlock {P} at (196,174) size 392x108 [bgcolor=#808080]
22 RenderText {TEXT} at (0,0) size 390x108
23 text run at (0,0) width 362: "This element has a width of 50%, and due to 'auto' values"
24 text run at (0,18) width 368: "applied to the left and right margins, the element should be"
25 text run at (0,36) width 166: "centered within its parent. "
26 text run at (166,36) width 224: "The gray rectangle should therefore"
27 text run at (0,54) width 338: "appear in the middle of the viewport (e.g. the browser"
28 text run at (0,72) width 363: "window). The text inside the gray rectangle should not be"
29 text run at (0,90) width 57: "centered."
30 RenderBlock {P} at (392,298) size 392x90 [bgcolor=#808080]
31 RenderText {TEXT} at (0,0) size 389x90
32 text run at (0,0) width 362: "This element has a width of 50%, and due to 'auto' values"
33 text run at (0,18) width 389: "applied to the left margin, the element should be right justified"
34 text run at (0,36) width 109: "within its parent. "
35 text run at (109,36) width 270: "The gray rectangle should therefore appear"
36 text run at (0,54) width 381: "on the right edge of the viewport (e.g. the browser window)."
37 text run at (0,72) width 359: "The text inside the gray rectangle should not be centered."
38 RenderBlock {P} at (0,404) size 784x36 [bgcolor=#808080]
39 RenderText {TEXT} at (0,0) size 762x36
40 text run at (0,0) width 762: "Since the width is \"auto,\" the margins that are set to \"auto\" become zero and this paragraph should have width 100% and"
41 text run at (0,18) width 193: "the text should be left justified."
42 RenderBlock {P} at (0,456) size 784x36 [bgcolor=#808080]
43 RenderText {TEXT} at (0,0) size 762x36
44 text run at (0,0) width 762: "Since the width is \"auto,\" the margins that are set to \"auto\" become zero and this paragraph should have width 100% and"
45 text run at (0,18) width 193: "the text should be left justified."
46 RenderBlock {P} at (0,508) size 784x36 [bgcolor=#808080]
47 RenderText {TEXT} at (0,0) size 762x36
48 text run at (0,0) width 762: "Since the width is \"auto,\" the margins that are set to \"auto\" become zero and this paragraph should have width 100% and"
49 text run at (0,18) width 193: "the text should be left justified."
50 RenderBlock {P} at (0,560) size 392x54 [bgcolor=#808080]
51 RenderText {TEXT} at (0,0) size 387x36
52 text run at (0,0) width 387: "Since auto is an invalid value for padding, the right-margin of"
53 text run at (0,18) width 207: "this paragraph should be reset to "
54 RenderInline {CODE} at (0,0) size 32x15
55 RenderText {TEXT} at (207,20) size 32x15
56 text run at (207,20) width 32: "auto"
57 RenderText {TEXT} at (239,18) size 391x36
58 text run at (239,18) width 141: " and thus be expanded"
59 text run at (0,36) width 391: "to 50% and it should only occupy the left half of the viewport."
60 RenderBlock {P} at (0,630) size 784x18 [bgcolor=#808080]
61 RenderText {TEXT} at (0,0) size 632x18
62 text run at (0,0) width 632: "Because this paragraph has width 100%, the auto margins become zero, so it should not be centered."