margin_right-expected.txt   [plain text]


layer at (0,0) size 802x1005
  RenderCanvas at (0,0) size 800x585
layer at (0,0) size 802x1005
  RenderBlock {HTML} at (0,0) size 800x1005
    RenderBody {BODY} at (8,8) size 784x989 [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 560x90
          text run at (0,0) width 552: ".zero {background-color: silver; margin-right: 0; text-align: right;}"
          text run at (0,15) width 184: ".one {margin-right: 0.5"
          text run at (184,15) width 376: "in; text-align: right; background-color: aqua;}"
          text run at (0,30) width 176: ".two {margin-right: 25"
          text run at (176,30) width 376: "px; text-align: right; background-color: aqua;}"
          text run at (0,45) width 184: ".three {margin-right: 5"
          text run at (184,45) width 376: "em; text-align: right; background-color: aqua;}"
          text run at (0,60) width 552: ".four {margin-right: 25%; text-align: right; background-color: aqua;}"
          text run at (0,75) width 192: ".five {margin-right: -10"
          text run at (192,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 (581,0) size 203x18
          text run at (581,0) width 203: "This element has a class of zero."
      RenderBlock {P} at (0,189) size 736x18 [bgcolor=#00FFFF]
        RenderText {TEXT} at (379,0) size 357x18
          text run at (379,0) width 357: "This sentence should have a right margin of half an inch."
      RenderBlock {P} at (0,223) size 759x18 [bgcolor=#00FFFF]
        RenderText {TEXT} at (419,0) size 340x18
          text run at (419,0) width 340: "This sentence should have a right margin of 25 pixels."
      RenderBlock {P} at (0,257) size 704x18 [bgcolor=#00FFFF]
        RenderText {TEXT} at (390,0) size 314x18
          text run at (390,0) width 314: "This sentence should have a right margin of 5 em."
      RenderBlock {P} at (0,291) size 588x36 [bgcolor=#00FFFF]
        RenderText {TEXT} at (33,0) size 555x36
          text run at (33,0) width 555: "This sentence should have a right margin of 25%, which is calculated with respect to the"
          text run at (412,18) width 176: "width of the parent element."
      RenderBlock {UL} at (0,343) size 759x90 [bgcolor=#808080]
        RenderListItem {LI} at (40,0) size 719x18
          RenderListMarker at (19,0) size 0x14
          RenderText {TEXT} at (19,0) size 700x18
            text run at (19,0) width 700: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to gray."
        RenderListItem {LI} at (40,18) size 694x54 [bgcolor=#FFFFFF]
          RenderListMarker at (38,0) size 0x14
          RenderText {TEXT} at (38,0) size 693x54
            text run at (38,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 (1,18) width 60: "checked. "
            text run at (61,18) width 633: "This list item has its right margin also set to 25 pixels, which should combine with the list's margin to"
            text run at (230,36) width 464: "make 50 pixels of margin, and its background-color has been set to white."
        RenderListItem {LI} at (40,72) size 719x18
          RenderListMarker at (540,0) size 0x14
          RenderText {TEXT} at (540,0) size 179x18
            text run at (540,0) width 179: "This is an unclassed list item"
      RenderBlock {P} at (0,449) size 784x18 [bgcolor=#C0C0C0]
        RenderText {TEXT} at (581,0) size 203x18
          text run at (581,0) width 203: "This element has a class of zero."
      RenderBlock {P} at (0,483) size 794x54 [bgcolor=#00FFFF]
        RenderText {TEXT} at (0,0) size 778x54
          text run at (0,0) width 254: "This paragraph has a right margin of -10"
          text run at (254,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 278: "No styles have been applied to it besides the"
          text run at (0,36) width 303: "negative right margin and the background color."
      RenderTable {TABLE} at (0,553) size 784x436 [border: (1px outset #808080)]
        RenderTableSection {TBODY} at (1,1) size 0x434
          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,217) 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 770x408 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
              RenderBlock {P} at (4,4) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (559,0) size 203x18
                  text run at (559,0) width 203: "This element has a class of zero."
              RenderBlock {P} at (4,38) size 714x18 [bgcolor=#00FFFF]
                RenderText {TEXT} at (357,0) size 357x18
                  text run at (357,0) width 357: "This sentence should have a right margin of half an inch."
              RenderBlock {P} at (4,72) size 737x18 [bgcolor=#00FFFF]
                RenderText {TEXT} at (397,0) size 340x18
                  text run at (397,0) width 340: "This sentence should have a right margin of 25 pixels."
              RenderBlock {P} at (4,106) size 682x18 [bgcolor=#00FFFF]
                RenderText {TEXT} at (368,0) size 314x18
                  text run at (368,0) width 314: "This sentence should have a right margin of 5 em."
              RenderBlock {P} at (4,140) size 572x36 [bgcolor=#00FFFF]
                RenderText {TEXT} at (17,0) size 555x36
                  text run at (17,0) width 555: "This sentence should have a right margin of 25%, which is calculated with respect to the"
                  text run at (396,18) width 176: "width of the parent element."
              RenderBlock {UL} at (4,192) size 737x108 [bgcolor=#808080]
                RenderListItem {LI} at (40,0) size 697x36
                  RenderListMarker at (33,0) size 0x14
                  RenderText {TEXT} at (33,0) size 664x36
                    text run at (33,0) width 664: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to"
                    text run at (665,18) width 32: "gray."
                RenderListItem {LI} at (40,36) size 672x54 [bgcolor=#FFFFFF]
                  RenderListMarker at (16,0) size 0x14
                  RenderText {TEXT} at (16,0) size 656x54
                    text run at (16,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 (43,18) width 60: "checked. "
                    text run at (103,18) width 569: "This list item has its right margin also set to 25 pixels, which should combine with the list's"
                    text run at (144,36) width 528: "margin to make 50 pixels of margin, and its background-color has been set to white."
                RenderListItem {LI} at (40,90) size 697x18
                  RenderListMarker at (518,0) size 0x14
                  RenderText {TEXT} at (518,0) size 179x18
                    text run at (518,0) width 179: "This is an unclassed list item"
              RenderBlock {P} at (4,316) size 762x18 [bgcolor=#C0C0C0]
                RenderText {TEXT} at (559,0) size 203x18
                  text run at (559,0) width 203: "This element has a class of zero."
              RenderBlock {P} at (4,350) size 772x54 [bgcolor=#00FFFF]
                RenderText {TEXT} at (0,0) size 767x54
                  text run at (0,0) width 254: "This paragraph has a right margin of -10"
                  text run at (254,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 326: "the negative right margin and the background color."