margin-expected.txt   [plain text]


layer at (0,0) size 802x2608
  RenderCanvas at (0,0) size 800x585
layer at (0,0) size 802x2608
  RenderBlock {HTML} at (0,0) size 800x2608
    RenderBody {BODY} at (8,8) size 784x2592 [bgcolor=#CCCCCC]
      RenderBlock {P} at (0,0) size 784x18
        RenderText {TEXT} at (0,0) size 355x18
          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
      RenderBlock {PRE} at (0,34) size 784x105
        RenderText {TEXT} at (0,0) size 360x105
          text run at (0,0) width 352: ".zero {background-color: silver; margin: 0;}"
          text run at (0,15) width 136: ".one {margin: 0.5"
          text run at (136,15) width 224: "in; background-color: aqua;}"
          text run at (0,30) width 128: ".two {margin: 25"
          text run at (128,30) width 224: "px; background-color: aqua;}"
          text run at (0,45) width 136: ".three {margin: 5"
          text run at (136,45) width 224: "em; background-color: aqua;}"
          text run at (0,60) width 352: ".four {margin: 25%; background-color: aqua;}"
          text run at (0,75) width 136: ".five {margin: 25"
          text run at (136,75) width 32: "px;}"
          text run at (0,90) width 136: ".six {margin: -10"
          text run at (136,90) width 224: "px; background-color: aqua;}"
      RenderBlock {HR} at (0,152) size 784x2 [border: (1px inset #000000)]
      RenderBlock {P} at (0,170) size 784x36
        RenderText {TEXT} at (0,0) size 738x36
          text run at (0,0) width 738: "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 248: "section 4.1.1 of the CSS1 specification."
      RenderBlock {P} at (0,222) size 784x18 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderBlock {P} at (48,288) size 688x18 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 658x18
          text run at (0,0) width 658: "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]
        RenderText {TEXT} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderBlock {P} at (25,397) size 734x18 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 641x18
          text run at (0,0) width 641: "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]
        RenderText {TEXT} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderBlock {P} at (80,538) size 624x18 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 615x18
          text run at (0,0) width 615: "This sentence should have an overall margin of 5 em, which will require extra text in order to test."
      RenderBlock {P} at (0,636) size 784x18 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderBlock {P} at (196,850) size 392x54 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 391x54
          text run at (0,0) width 391: "This sentence should have an overall margin of 25%, which is"
          text run at (0,18) width 362: "calculated with respect to the width of the parent element."
          text run at (0,36) width 264: "This will require extra text in order to test."
      RenderBlock {P} at (0,1100) size 784x18 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderBlock {UL} at (25,1143) size 734x122 [bgcolor=#00FFFF]
        RenderListItem {LI} at (40,0) size 694x18
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 375x18
            text run at (0,0) width 171: "This list has a margin of 25"
            text run at (171,0) width 204: "px, and a light blue background."
        RenderListItem {LI} at (40,18) size 694x18
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 264x18
            text run at (0,0) width 264: "Therefore, it ought to have such a margin."
        RenderListItem {LI} at (65,61) size 644x18
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 543x18
            text run at (0,0) width 202: "This list item has a margin of 25"
            text run at (202,0) width 341: "px, which should cause it to be offset in some fashion."
        RenderListItem {LI} at (40,104) size 694x18
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 294x18
            text run at (0,0) width 294: "This list item has no special styles applied to it."
      RenderBlock {P} at (0,1290) size 784x18 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderBlock {P} at (-10,1298) size 804x54 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 775x54
          text run at (0,0) width 276: "This paragraph has an overall margin of -10"
          text run at (276,0) width 482: "px, which should make it wider than usual as well as shift it upward and pull"
          text run at (0,18) width 369: "subsequent text up toward it, and a light blue background. "
          text run at (369,18) width 386: "In all other respects, however, the element should be normal. "
          text run at (755,18) width 20: "No"
          text run at (0,36) width 528: "styles have been applied to it besides the negative margin and the background color."
      RenderBlock {P} at (0,1342) size 784x18 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderTable {TABLE} at (0,1360) size 784x1232 [border: (1px outset #808080)]
        RenderTableSection {TBODY} at (1,1) size 0x1230
          RenderTableRow {TR} at (0,0) size 0x0
            RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
              RenderInline {STRONG} at (0,0) size 163x18
                RenderText {TEXT} at (4,4) size 163x18
                  text run at (4,4) width 163: "TABLE Testing Section"
          RenderTableRow {TR} at (0,0) size 0x0
            RenderTableCell {TD} at (0,615) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
              RenderText {TEXT} at (4,4) size 4x18
                text run at (4,4) width 4: " "
            RenderTableCell {TD} at (12,26) size 770x1204 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
              RenderBlock {P} at (4,4) size 762x36
                RenderText {TEXT} at (0,0) size 738x36
                  text run at (0,0) width 738: "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 248: "section 4.1.1 of the CSS1 specification."
              RenderBlock {P} at (4,56) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."
              RenderBlock {P} at (52,122) size 666x18 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 658x18
                  text run at (0,0) width 658: "This sentence should have an overall margin of half an inch, which will require extra text in order to test."
              RenderBlock {P} at (4,188) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."
              RenderBlock {P} at (29,231) size 712x18 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 641x18
                  text run at (0,0) width 641: "This sentence should have an overall margin of 25 pixels, which will require extra text in order to test."
              RenderBlock {P} at (4,274) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."
              RenderBlock {P} at (84,372) size 602x36 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 586x36
                  text run at (0,0) width 586: "This sentence should have an overall margin of 5 em, which will require extra text in order to"
                  text run at (0,18) width 25: "test."
              RenderBlock {P} at (4,488) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."
              RenderBlock {P} at (194,696) size 382x54 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 377x54
                  text run at (0,0) width 377: "This sentence should have an overall margin of 25%, which"
                  text run at (0,18) width 376: "is calculated with respect to the width of the parent element."
                  text run at (0,36) width 264: "This will require extra text in order to test."
              RenderBlock {P} at (4,940) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."
              RenderBlock {UL} at (29,983) size 712x122 [bgcolor=#00FFFF]
                RenderListItem {LI} at (40,0) size 672x18
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 375x18
                    text run at (0,0) width 171: "This list has a margin of 25"
                    text run at (171,0) width 204: "px, and a light blue background."
                RenderListItem {LI} at (40,18) size 672x18
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 264x18
                    text run at (0,0) width 264: "Therefore, it ought to have such a margin."
                RenderListItem {LI} at (65,61) size 622x18
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 543x18
                    text run at (0,0) width 202: "This list item has a margin of 25"
                    text run at (202,0) width 341: "px, which should cause it to be offset in some fashion."
                RenderListItem {LI} at (40,104) size 672x18
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 294x18
                    text run at (0,0) width 294: "This list item has no special styles applied to it."
              RenderBlock {P} at (4,1130) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."
              RenderBlock {P} at (-6,1138) size 782x54 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 775x54
                  text run at (0,0) width 276: "This paragraph has an overall margin of -10"
                  text run at (276,0) width 482: "px, which should make it wider than usual as well as shift it upward and pull"
                  text run at (0,18) width 369: "subsequent text up toward it, and a light blue background. "
                  text run at (369,18) width 386: "In all other respects, however, the element should be normal. "
                  text run at (755,18) width 20: "No"
                  text run at (0,36) width 528: "styles have been applied to it besides the negative margin and the background color."
              RenderBlock {P} at (4,1182) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."