-layer at (0,0) size 802x2645
+layer at (0,0) size 802x2652
RenderView at (0,0) size 800x600
-layer at (0,0) size 800x2645
- RenderBlock {HTML} at (0,0) size 800x2645
- RenderBody {BODY} at (8,8) size 784x2629 [bgcolor=#CCCCCC]
+layer at (0,0) size 800x2652
+ RenderBlock {HTML} at (0,0) size 800x2652
+ RenderBody {BODY} at (8,8) size 784x2636 [bgcolor=#CCCCCC]
RenderBlock {P} at (0,0) size 784x18
RenderText {#text} at (0,0) size 363x17
text run at (0,0) width 363: "The style declarations which apply to the text below are:"
- RenderBlock {PRE} at (0,34) size 784x105
- RenderText {#text} at (0,0) size 352x105
- text run at (0,0) width 344: ".zero {background-color: silver; margin: 0;}"
- text run at (343,0) width 1: " "
- text run at (0,15) width 352: ".one {margin: 0.5in; background-color: aqua;}"
- text run at (351,15) width 1: " "
- text run at (0,30) width 344: ".two {margin: 25px; background-color: aqua;}"
- text run at (343,30) width 1: " "
- text run at (0,45) width 352: ".three {margin: 5em; background-color: aqua;}"
- text run at (351,45) width 1: " "
- text run at (0,60) width 344: ".four {margin: 25%; background-color: aqua;}"
- text run at (343,60) width 1: " "
- text run at (0,75) width 164: ".five {margin: 25px;}"
- text run at (163,75) width 1: " "
- text run at (0,90) width 352: ".six {margin: -10px; background-color: aqua;}"
- text run at (351,90) width 1: " "
- RenderBlock {HR} at (0,152) size 784x2 [border: (1px inset #EEEEEE)]
- RenderBlock {P} at (0,170) size 784x36
+ RenderBlock {PRE} at (0,34) size 784x112
+ RenderText {#text} at (0,0) size 360x112
+ text run at (0,0) width 352: ".zero {background-color: silver; margin: 0;}"
+ text run at (352,0) width 0: " "
+ text run at (0,16) width 360: ".one {margin: 0.5in; background-color: aqua;}"
+ text run at (360,16) width 0: " "
+ text run at (0,32) width 352: ".two {margin: 25px; background-color: aqua;}"
+ text run at (352,32) width 0: " "
+ text run at (0,48) width 360: ".three {margin: 5em; background-color: aqua;}"
+ text run at (360,48) width 0: " "
+ text run at (0,64) width 352: ".four {margin: 25%; background-color: aqua;}"
+ text run at (352,64) width 0: " "
+ text run at (0,80) width 168: ".five {margin: 25px;}"
+ text run at (168,80) width 0: " "
+ text run at (0,96) width 360: ".six {margin: -10px; background-color: aqua;}"
+ text run at (360,96) width 0: " "
+ RenderBlock {HR} at (0,159) size 784x2 [border: (1px inset #EEEEEE)]
+ RenderBlock {P} at (0,177) size 784x36
RenderText {#text} at (0,0) size 753x35
text run at (0,0) width 753: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in"
text run at (0,18) width 253: "section 4.1.1 of the CSS1 specification."
- RenderBlock {P} at (0,222) size 784x18 [bgcolor=#C0C0C0]
+ RenderBlock {P} at (0,229) size 784x18 [bgcolor=#C0C0C0]
RenderText {#text} at (0,0) size 208x17
text run at (0,0) width 208: "This element has a class of zero."
- RenderBlock {P} at (48,288) size 688x18 [bgcolor=#00FFFF]
+ RenderBlock {P} at (48,295) size 688x18 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 673x17
text run at (0,0) width 673: "This sentence should have an overall margin of half an inch, which will require extra text in order to test."
- RenderBlock {P} at (0,354) size 784x18 [bgcolor=#C0C0C0]
+ RenderBlock {P} at (0,361) size 784x18 [bgcolor=#C0C0C0]
RenderText {#text} at (0,0) size 208x17
text run at (0,0) width 208: "This element has a class of zero."
- RenderBlock {P} at (25,397) size 734x18 [bgcolor=#00FFFF]
+ RenderBlock {P} at (25,404) size 734x18 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 655x17
text run at (0,0) width 655: "This sentence should have an overall margin of 25 pixels, which will require extra text in order to test."
- RenderBlock {P} at (0,440) size 784x18 [bgcolor=#C0C0C0]
+ RenderBlock {P} at (0,447) size 784x18 [bgcolor=#C0C0C0]
RenderText {#text} at (0,0) size 208x17
text run at (0,0) width 208: "This element has a class of zero."
- RenderBlock {P} at (80,538) size 624x36 [bgcolor=#00FFFF]
+ RenderBlock {P} at (80,545) size 624x36 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 599x35
text run at (0,0) width 599: "This sentence should have an overall margin of 5 em, which will require extra text in order to"
text run at (0,18) width 27: "test."
- RenderBlock {P} at (0,654) size 784x18 [bgcolor=#C0C0C0]
+ RenderBlock {P} at (0,661) size 784x18 [bgcolor=#C0C0C0]
RenderText {#text} at (0,0) size 208x17
text run at (0,0) width 208: "This element has a class of zero."
- RenderBlock {P} at (196,868) size 392x54 [bgcolor=#00FFFF]
+ RenderBlock {P} at (196,875) size 392x54 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 386x53
text run at (0,0) width 383: "This sentence should have an overall margin of 25%, which"
text run at (0,18) width 386: "is calculated with respect to the width of the parent element."
text run at (0,36) width 272: "This will require extra text in order to test."
- RenderBlock {P} at (0,1118) size 784x18 [bgcolor=#C0C0C0]
+ RenderBlock {P} at (0,1125) size 784x18 [bgcolor=#C0C0C0]
RenderText {#text} at (0,0) size 208x17
text run at (0,0) width 208: "This element has a class of zero."
- RenderBlock {UL} at (25,1161) size 734x122 [bgcolor=#00FFFF]
+ RenderBlock {UL} at (25,1168) size 734x122 [bgcolor=#00FFFF]
RenderListItem {LI} at (40,0) size 694x18
RenderListMarker at (-17,0) size 7x17: bullet
RenderText {#text} at (0,0) size 382x17
RenderListMarker at (-17,0) size 7x17: bullet
RenderText {#text} at (0,0) size 304x17
text run at (0,0) width 304: "This list item has no special styles applied to it."
- RenderBlock {P} at (0,1308) size 784x18 [bgcolor=#C0C0C0]
+ RenderBlock {P} at (0,1315) size 784x18 [bgcolor=#C0C0C0]
RenderText {#text} at (0,0) size 208x17
text run at (0,0) width 208: "This element has a class of zero."
- RenderBlock {P} at (-10,1316) size 804x54 [bgcolor=#00FFFF]
+ RenderBlock {P} at (-10,1323) size 804x54 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 789x53
text run at (0,0) width 772: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull"
text run at (0,18) width 376: "subsequent text up toward it, and a light blue background. "
text run at (375,18) width 395: "In all other respects, however, the element should be normal. "
text run at (769,18) width 20: "No"
text run at (0,36) width 539: "styles have been applied to it besides the negative margin and the background color."
- RenderBlock {P} at (0,1360) size 784x18 [bgcolor=#C0C0C0]
+ RenderBlock {P} at (0,1367) size 784x18 [bgcolor=#C0C0C0]
RenderText {#text} at (0,0) size 208x17
text run at (0,0) width 208: "This element has a class of zero."
- RenderTable {TABLE} at (0,1378) size 784x1251 [border: (1px outset #808080)]
+ RenderTable {TABLE} at (0,1385) size 784x1251 [border: (1px outset #808080)]
RenderTableSection {TBODY} at (1,1) size 782x1249
RenderTableRow {TR} at (0,0) size 782x26
RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]