blob: e484b6b444ac8766159daf6ecacb4f78d1d2a862 [file] [log] [blame]
layer at (0,0) size 787x2630
RenderView at (0,0) size 785x585
layer at (0,0) size 785x2630
RenderBlock {HTML} at (0,0) size 785x2630
RenderBody {BODY} at (8,8) size 769x2614 [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,34) size 769x105
RenderText {#text} at (0,0) size 352x105
text run at (0,0) width 344: ".zero {background-color: silver; margin: 0;}"
text run at (0,15) width 352: ".one {margin: 0.5in; background-color: aqua;}"
text run at (0,30) width 344: ".two {margin: 25px; background-color: aqua;}"
text run at (0,45) width 352: ".three {margin: 5em; background-color: aqua;}"
text run at (0,60) width 344: ".four {margin: 25%; background-color: aqua;}"
text run at (0,75) width 164: ".five {margin: 25px;}"
text run at (0,90) width 352: ".six {margin: -10px; background-color: aqua;}"
RenderBlock {HR} at (0,152) size 769x2 [border: (1px inset #000000)]
RenderBlock {P} at (0,170) size 769x36
RenderText {#text} at (0,0) size 752x36
text run at (0,0) width 752: "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 252: "section 4.1.1 of the CSS1 specification."
RenderBlock {P} at (0,222) 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 (48,288) size 673x18 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 672x18
text run at (0,0) width 672: "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 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 (25,397) size 719x18 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 655x18
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 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 (80,538) size 609x36 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 598x36
text run at (0,0) width 598: "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 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 (192,864) size 385x55 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 383x54
text run at (0,0) width 383: "This sentence should have an overall margin of 25%, which"
text run at (0,18) width 327: "is calculated with respect to the width of the parent"
text run at (0,36) width 59: "element. "
text run at (58,36) width 273: "This will require extra text in order to test."
RenderBlock {P} at (0,1110) size 769x19 [bgcolor=#C0C0C0]
RenderText {#text} at (0,0) size 208x18
text run at (0,0) width 208: "This element has a class of zero."
RenderBlock {UL} at (25,1153) size 719x123 [bgcolor=#00FFFF]
RenderListItem {LI} at (40,0) size 679x18
RenderListMarker at (-17,0) size 7x18: bullet
RenderText {#text} at (0,0) size 382x18
text run at (0,0) width 382: "This list has a margin of 25px, and a light blue background."
RenderListItem {LI} at (40,18) size 679x18
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 (65,61) size 629x18
RenderListMarker at (-17,0) size 7x18: bullet
RenderText {#text} at (0,0) size 555x18
text run at (0,0) width 555: "This list item has a margin of 25px, which should cause it to be offset in some fashion."
RenderListItem {LI} at (40,104) size 679x18
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,1300) size 769x19 [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 (-10,1308) size 789x55 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 789x54
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 394: "In all other respects, however, the element should be normal. "
text run at (768,18) width 21: "No"
text run at (0,36) width 538: "styles have been applied to it besides the negative margin and the background color."
RenderBlock {P} at (0,1352) size 769x19 [bgcolor=#C0C0C0]
RenderText {#text} at (0,0) size 208x18
text run at (0,0) width 208: "This element has a class of zero."
RenderTable {TABLE} at (0,1370) size 769x1244 [border: (1px outset #808080)]
RenderTableSection {TBODY} at (1,1) size 767x1242
RenderTableRow {TR} at (0,0) size 767x26
RenderTableCell {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 161x18
RenderText {#text} at (4,4) size 161x18
text run at (4,4) width 161: "TABLE Testing Section"
RenderTableRow {TR} at (0,26) size 767x1216
RenderTableCell {TD} at (0,620) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
RenderText {#text} at (4,4) size 4x19
text run at (4,5) width 4: " "
RenderTableCell {TD} at (12,26) size 755x1216 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
RenderBlock {P} at (4,4) size 747x36
RenderText {#text} at (0,0) size 736x36
text run at (0,0) width 736: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described"
text run at (0,18) width 268: "in section 4.1.1 of the CSS1 specification."
RenderBlock {P} at (4,56) 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 (52,122) size 651x36 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 642x36
text run at (0,0) width 642: "This sentence should have an overall margin of half an inch, which will require extra text in order to"
text run at (0,18) width 27: "test."
RenderBlock {P} at (4,206) 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 (29,249) size 697x18 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 655x18
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 (4,292) 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 (84,390) size 587x36 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 582x36
text run at (0,0) width 582: "This sentence should have an overall margin of 5 em, which will require extra text in order"
text run at (0,18) width 43: "to test."
RenderBlock {P} at (4,506) 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 (190,710) size 375x55 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 370x54
text run at (0,0) width 340: "This sentence should have an overall margin of 25%,"
text run at (0,18) width 370: "which is calculated with respect to the width of the parent"
text run at (0,36) width 59: "element. "
text run at (58,36) width 273: "This will require extra text in order to test."
RenderBlock {P} at (4,951) size 747x19 [bgcolor=#C0C0C0]
RenderText {#text} at (0,0) size 208x18
text run at (0,0) width 208: "This element has a class of zero."
RenderBlock {UL} at (29,994) size 697x123 [bgcolor=#00FFFF]
RenderListItem {LI} at (40,0) size 657x18
RenderListMarker at (-17,0) size 7x18: bullet
RenderText {#text} at (0,0) size 382x18
text run at (0,0) width 382: "This list has a margin of 25px, and a light blue background."
RenderListItem {LI} at (40,18) size 657x18
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 (65,61) size 607x18
RenderListMarker at (-17,0) size 7x18: bullet
RenderText {#text} at (0,0) size 555x18
text run at (0,0) width 555: "This list item has a margin of 25px, which should cause it to be offset in some fashion."
RenderListItem {LI} at (40,104) size 657x18
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,1141) size 747x19 [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 (-6,1149) size 767x55 [bgcolor=#00FFFF]
RenderText {#text} at (0,0) size 743x54
text run at (0,0) width 743: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and"
text run at (0,18) width 404: "pull subsequent text up toward it, and a light blue background. "
text run at (403,18) width 338: "In all other respects, however, the element should be"
text run at (0,36) width 54: "normal. "
text run at (53,36) width 562: "No styles have been applied to it besides the negative margin and the background color."
RenderBlock {P} at (4,1193) size 747x19 [bgcolor=#C0C0C0]
RenderText {#text} at (0,0) size 208x18
text run at (0,0) width 208: "This element has a class of zero."