margin_left-expected.txt   [plain text]


layer at (0,0) size 800x987
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x987
  RenderBlock {HTML} at (0,0) size 800x987
    RenderBody {BODY} at (8,8) size 784x971 [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 784x90
        RenderText {TEXT} at (0,0) size 408x90
          text run at (0,0) width 392: ".zero {background-color: silver; margin-left: 0;}"
          text run at (0,15) width 176: ".one {margin-left: 0.5"
          text run at (176,15) width 224: "in; background-color: aqua;}"
          text run at (0,30) width 168: ".two {margin-left: 25"
          text run at (168,30) width 224: "px; background-color: aqua;}"
          text run at (0,45) width 176: ".three {margin-left: 5"
          text run at (176,45) width 224: "em; background-color: aqua;}"
          text run at (0,60) width 392: ".four {margin-left: 25%; background-color: aqua;}"
          text run at (0,75) width 184: ".five {margin-left: -10"
          text run at (184,75) width 224: "px; background-color: aqua;}"
      RenderBlock {HR} at (0,137) size 784x2 [border: (1px inset #000000)]
      RenderBlock {P} at (0,155) 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,189) size 736x18 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 348x18
          text run at (0,0) width 348: "This sentence should have a left margin of half an inch."
      RenderBlock {P} at (25,223) size 759x18 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 331x18
          text run at (0,0) width 331: "This sentence should have a left margin of 25 pixels."
      RenderBlock {P} at (80,257) size 704x18 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 305x18
          text run at (0,0) width 305: "This sentence should have a left margin of 5 em."
      RenderBlock {P} at (196,291) size 588x36 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 586x36
          text run at (0,0) width 586: "This sentence should have a left margin of 25%, which is calculated with respect to the width"
          text run at (0,18) width 136: "of the parent element."
      RenderBlock {UL} at (25,343) size 759x90 [bgcolor=#808080]
        RenderListItem {LI} at (40,0) size 719x18
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 686x18
            text run at (0,0) width 686: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set to gray."
        RenderListItem {LI} at (65,18) size 694x54 [bgcolor=#FFFFFF]
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 684x54
            text run at (0,0) width 656: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
            text run at (0,18) width 60: "checked. "
            text run at (60,18) width 624: "This list item has its left margin also set to 25 pixels, which should combine with the list's margin to"
            text run at (0,36) width 463: "make 50 pixels of margin, and its background color has been set to white."
        RenderListItem {LI} at (40,72) size 719x18
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 179x18
            text run at (0,0) width 179: "This is an unclassed list item"
      RenderBlock {P} at (0,449) 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,483) size 794x54 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 789x54
          text run at (0,0) width 245: "This paragraph has a left margin of -10"
          text run at (245,0) width 544: "px, which should cause it to be wider than it might otherwise be, and it has a light blue"
          text run at (0,18) width 83: "background. "
          text run at (83,18) width 386: "In all other respects, however, the element should be normal. "
          text run at (469,18) width 278: "No styles have been applied to it besides the"
          text run at (0,36) width 294: "negative left margin and the background color."
      RenderTable {TABLE} at (0,553) size 784x418 [border: (1px outset #808080)]
        RenderTableSection {TBODY} at (1,1) size 0x416
          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,208) 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 770x390 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
              RenderBlock {P} at (4,4) 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,38) size 714x18 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 348x18
                  text run at (0,0) width 348: "This sentence should have a left margin of half an inch."
              RenderBlock {P} at (29,72) size 737x18 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 331x18
                  text run at (0,0) width 331: "This sentence should have a left margin of 25 pixels."
              RenderBlock {P} at (84,106) size 682x18 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 305x18
                  text run at (0,0) width 305: "This sentence should have a left margin of 5 em."
              RenderBlock {P} at (194,140) size 572x36 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 546x36
                  text run at (0,0) width 546: "This sentence should have a left margin of 25%, which is calculated with respect to the"
                  text run at (0,18) width 176: "width of the parent element."
              RenderBlock {UL} at (29,192) size 737x90 [bgcolor=#808080]
                RenderListItem {LI} at (40,0) size 697x18
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 686x18
                    text run at (0,0) width 686: "The left margin on this unordered list has been set to 25 pixels, and its background color has been set to gray."
                RenderListItem {LI} at (65,18) size 672x54 [bgcolor=#FFFFFF]
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 668x54
                    text run at (0,0) width 656: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
                    text run at (0,18) width 60: "checked. "
                    text run at (60,18) width 608: "This list item has its left margin also set to 25 pixels, which should combine with the list's margin"
                    text run at (0,36) width 479: "to make 50 pixels of margin, and its background color has been set to white."
                RenderListItem {LI} at (40,72) size 697x18
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 179x18
                    text run at (0,0) width 179: "This is an unclassed list item"
              RenderBlock {P} at (4,298) 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,332) size 772x54 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 758x54
                  text run at (0,0) width 245: "This paragraph has a left margin of -10"
                  text run at (245,0) width 513: "px, which should cause it to be wider than it might otherwise be, and it has a light"
                  text run at (0,18) width 114: "blue background. "
                  text run at (114,18) width 386: "In all other respects, however, the element should be normal. "
                  text run at (500,18) width 255: "No styles have been applied to it besides"
                  text run at (0,36) width 317: "the negative left margin and the background color."