margin_left-expected.txt   [plain text]


layer at (0,0) size 800x979
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x979
  RenderBlock {HTML} at (0,0) size 800x979
    RenderBody {BODY} at (8,8) size 784x963 [bgcolor=#CCCCCC]
      RenderBlock {P} at (0,0) size 784x17 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 385x17
          text run at (0,0) width 385: "The style declarations which apply to the text below are:"
      RenderBlock {PRE} at (0,31) size 784x96 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 408x96
          text run at (0,0) width 392: ".zero {background-color: silver; margin-left: 0;}"
          text run at (0,16) width 176: ".one {margin-left: 0.5"
          text run at (176,16) width 224: "in; background-color: aqua;}"
          text run at (0,32) width 168: ".two {margin-left: 25"
          text run at (168,32) width 224: "px; background-color: aqua;}"
          text run at (0,48) width 176: ".three {margin-left: 5"
          text run at (176,48) width 224: "em; background-color: aqua;}"
          text run at (0,64) width 392: ".four {margin-left: 25%; background-color: aqua;}"
          text run at (0,80) width 184: ".five {margin-left: -10"
          text run at (184,80) width 224: "px; background-color: aqua;}"
      RenderBlock {HR} at (1,141) size 782x2 [bgcolor=#000000]
      RenderBlock {P} at (0,157) size 784x17 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 224x17
          text run at (0,0) width 224: "This element has a class of zero."
      RenderBlock {P} at (48,188) size 736x17 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 378x17
          text run at (0,0) width 378: "This sentence should have a left margin of half an inch."
      RenderBlock {P} at (25,219) size 759x17 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 361x17
          text run at (0,0) width 361: "This sentence should have a left margin of 25 pixels."
      RenderBlock {P} at (70,250) size 714x17 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 332x17
          text run at (0,0) width 332: "This sentence should have a left margin of 5 em."
      RenderBlock {P} at (196,281) size 588x34 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 564x34
          text run at (0,0) width 564: "This sentence should have a left margin of 25%, which is calculated with respect to"
          text run at (0,17) width 220: "the width of the parent element."
      RenderBlock {UL} at (25,329) size 759x102 [bgcolor=#808080]
        RenderListItem {LI} at (40,0) size 719x34 [bgcolor=#000000]
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 705x34
            text run at (0,0) width 705: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set"
            text run at (0,17) width 53: "to gray."
        RenderListItem {LI} at (65,34) size 694x51 [bgcolor=#FFFFFF]
          RenderListMarker at (0,0) size 0x14 [bgcolor=#000000]
          RenderText {TEXT} at (0,0) size 674x51
            text run at (0,0) width 669: "Another list item might not be such a bad idea, either, considering that such things do need to be"
            text run at (0,17) width 120: "double-checked. "
            text run at (120,17) width 554: "This list item has its left margin also set to 25 pixels, which should combine with"
            text run at (0,34) width 641: "the list's margin to make 50 pixels of margin, and its background color has been set to white."
        RenderListItem {LI} at (40,85) size 719x17 [bgcolor=#000000]
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 198x17
            text run at (0,0) width 198: "This is an unclassed list item"
      RenderBlock {P} at (0,445) size 784x17 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (0,0) size 224x17
          text run at (0,0) width 224: "This element has a class of zero."
      RenderBlock {P} at (-10,476) size 794x51 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 786x51
          text run at (0,0) width 270: "This paragraph has a left margin of -10"
          text run at (270,0) width 516: "px, which should cause it to be wider than it might otherwise be, and it has"
          text run at (0,17) width 172: "a light blue background. "
          text run at (172,17) width 423: "In all other respects, however, the element should be normal. "
          text run at (595,17) width 191: "No styles have been applied"
          text run at (0,34) width 437: "to it besides the negative left margin and the background color."
      RenderTable {TABLE} at (0,541) size 784x422 [bgcolor=#000000]
        RenderTableSection {TBODY} at (1,1) size 0x420
          RenderTableRow {TR} at (0,0) size 0x0
            RenderTableCell {TD} at (0,0) size 782x25 [bgcolor=#C0C0C0] [r=0 c=0 rs=1 cs=2]
              RenderInline {STRONG} at (0,0) size 164x17 [bgcolor=#000000]
                RenderText {TEXT} at (4,4) size 164x17
                  text run at (4,4) width 164: "TABLE Testing Section"
          RenderTableRow {TR} at (0,0) size 0x0
            RenderTableCell {TD} at (0,210) size 12x25 [bgcolor=#C0C0C0] [r=1 c=0 rs=1 cs=1]
              RenderText {TEXT} at (4,4) size 4x17
                text run at (4,4) width 4: "\x{A0}"
            RenderTableCell {TD} at (12,25) size 770x395 [r=1 c=1 rs=1 cs=1]
              RenderBlock {P} at (4,4) size 762x17 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 224x17
                  text run at (0,0) width 224: "This element has a class of zero."
              RenderBlock {P} at (52,35) size 714x17 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 378x17
                  text run at (0,0) width 378: "This sentence should have a left margin of half an inch."
              RenderBlock {P} at (29,66) size 737x17 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 361x17
                  text run at (0,0) width 361: "This sentence should have a left margin of 25 pixels."
              RenderBlock {P} at (74,97) size 692x17 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 332x17
                  text run at (0,0) width 332: "This sentence should have a left margin of 5 em."
              RenderBlock {P} at (194,128) size 572x34 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 564x34
                  text run at (0,0) width 564: "This sentence should have a left margin of 25%, which is calculated with respect to"
                  text run at (0,17) width 220: "the width of the parent element."
              RenderBlock {UL} at (29,176) size 737x119 [bgcolor=#808080]
                RenderListItem {LI} at (40,0) size 697x34 [bgcolor=#000000]
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 680x34
                    text run at (0,0) width 680: "The left margin on this unordered list has been set to 25 pixels, and its background color has been"
                    text run at (0,17) width 78: "set to gray."
                RenderListItem {LI} at (65,34) size 672x68 [bgcolor=#FFFFFF]
                  RenderListMarker at (0,0) size 0x14 [bgcolor=#000000]
                  RenderText {TEXT} at (0,0) size 669x68
                    text run at (0,0) width 669: "Another list item might not be such a bad idea, either, considering that such things do need to be"
                    text run at (0,17) width 120: "double-checked. "
                    text run at (120,17) width 521: "This list item has its left margin also set to 25 pixels, which should combine"
                    text run at (0,34) width 628: "with the list's margin to make 50 pixels of margin, and its background color has been set to"
                    text run at (0,51) width 42: "white."
                RenderListItem {LI} at (40,102) size 697x17 [bgcolor=#000000]
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 198x17
                    text run at (0,0) width 198: "This is an unclassed list item"
              RenderBlock {P} at (4,309) size 762x17 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (0,0) size 224x17
                  text run at (0,0) width 224: "This element has a class of zero."
              RenderBlock {P} at (-6,340) size 772x51 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 759x51
                  text run at (0,0) width 270: "This paragraph has a left margin of -10"
                  text run at (270,0) width 488: "px, which should cause it to be wider than it might otherwise be, and it"
                  text run at (0,17) width 200: "has a light blue background. "
                  text run at (200,17) width 423: "In all other respects, however, the element should be normal. "
                  text run at (623,17) width 136: "No styles have been"
                  text run at (0,34) width 492: "applied to it besides the negative left margin and the background color."