float_on_text_elements-expected.txt   [plain text]


layer at (0,0) size 800x2990
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x2990
  RenderBlock {HTML} at (0,0) size 800x2990
    RenderBody {BODY} at (8,8) size 784x2974 [bgcolor=#CCCCCC]
      RenderBlock (floating) {P} at (0,0) size 392x34 [bgcolor=#FFFF00]
        RenderText {TEXT} at (0,0) size 392x34
          text run at (0,0) width 392: "This paragraph is of class \"one\". It has a width of 50%"
          text run at (0,17) width 170: "and is floated to the left."
      RenderBlock (anonymous) at (0,0) size 784x0 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#CCCCCC]
      RenderBlock {P} at (0,0) size 784x85 [bgcolor=#000000]
        RenderText {TEXT} at (392,0) size 784x85
          text run at (392,0) width 392: "This paragraph should start on the right side of a yellow"
          text run at (392,17) width 392: "box which contains the previous paragraph. Since the"
          text run at (0,34) width 784: "text of this element is much longer than the text in the previous element, the text will wrap around the yellow"
          text run at (0,51) width 784: "box. There is no padding, border or margins on this and the previous element, so the text of the two elements"
          text run at (0,68) width 239: "should be very close to each other."
      RenderBlock (anonymous) at (0,85) size 784x17 [bgcolor=#000000]
        RenderBR {BR} at (0,0) size 0x0
      RenderBlock {HR} at (1,114) size 782x2 [bgcolor=#000000]
      RenderBlock (floating) {P} at (0,128) size 784x68 [bgcolor=#FFFF00]
        RenderText {TEXT} at (0,0) size 784x68
          text run at (0,0) width 784: "This paragraph is of class \"two\". Since the width has been set to 100%, it should automatically be as wide as its"
          text run at (0,17) width 784: "parent element allows it to be. Therefore, even though the element is floated, there is no room for other content"
          text run at (0,34) width 784: "on the sides and a orange square image should be seen AFTER the paragraph, not next to it. A yellow background"
          text run at (0,51) width 401: "has been added to this paragraph for diagnostic purposes."
      RenderBlock (anonymous) at (0,128) size 784x86 [bgcolor=#000000]
        RenderImage {IMG} at (0,68) size 15x15
        RenderText {TEXT} at (15,69) size 4x17 [bgcolor=#CCCCCC]
          text run at (15,69) width 4: " "
        RenderBR {BR} at (0,0) size 0x0
      RenderBlock {HR} at (1,226) size 782x2 [bgcolor=#000000]
      RenderBlock (floating) {P} at (0,240) size 392x102 [bgcolor=#FFFF00]
        RenderText {TEXT} at (0,0) size 392x102
          text run at (0,0) width 392: "This paragraph is floated to the left and the orange"
          text run at (0,17) width 392: "square image should appear to the right of the"
          text run at (0,34) width 392: "paragraph. This paragraph has a yellow background and"
          text run at (0,51) width 392: "no padding, margin or border. The right edge of this"
          text run at (0,68) width 392: "yellow box should be horizontally aligned with the left"
          text run at (0,85) width 248: "edge of the yellow box undernearth."
      RenderBlock (anonymous) at (0,240) size 784x102 [bgcolor=#000000]
        RenderImage {IMG} at (392,0) size 15x15
        RenderText {TEXT} at (407,1) size 4x17 [bgcolor=#CCCCCC]
          text run at (407,1) width 4: " "
        RenderBR {BR} at (0,0) size 0x0
      RenderBlock {HR} at (1,354) size 782x2 [bgcolor=#000000]
      RenderBlock (floating) {P} at (392,368) size 392x102 [bgcolor=#FFFF00]
        RenderText {TEXT} at (0,0) size 392x102
          text run at (0,0) width 392: "This paragraph is floated to the right (using a STYLE"
          text run at (0,17) width 392: "attribute) and the orange square image should appear to"
          text run at (0,34) width 392: "the left of the paragraph. This paragraph has a yellow"
          text run at (0,51) width 392: "background and no padding, margin or border. The left"
          text run at (0,68) width 392: "edge of this yellow box should be horizonally aligned"
          text run at (0,85) width 301: "with the right edge of the yellow box above."
      RenderBlock (anonymous) at (0,368) size 784x102 [bgcolor=#000000]
        RenderImage {IMG} at (0,0) size 15x15
        RenderText {TEXT} at (15,1) size 4x17 [bgcolor=#CCCCCC]
          text run at (15,1) width 4: " "
        RenderBR {BR} at (0,0) size 0x0
      RenderBlock {HR} at (1,482) size 782x2 [bgcolor=#000000]
      RenderBlock {P} at (0,496) size 784x68 [bgcolor=#000000]
        RenderBlock (floating) {SPAN} at (0,0) size 42x33 [bgcolor=#C0C0C0]
          RenderText {TEXT} at (0,0) size 20x33
            text run at (0,0) width 20: "T"
        RenderText {TEXT} at (42,0) size 784x68
          text run at (42,0) width 742: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the"
          text run at (42,17) width 379: "paragraph, as well as bold, with a content width of 1.5"
          text run at (421,17) width 263: "em and a background-color of silver. "
          text run at (684,17) width 100: "The top of the"
          text run at (0,34) width 784: "big letter \"T\" should be vertically aligned with the top of the first line of this paragraph. This is commonly known"
          text run at (0,51) width 99: "as \"drop-cap\"."
      RenderBlock (anonymous) at (0,564) size 784x17 [bgcolor=#000000]
        RenderBR {BR} at (0,0) size 0x0
      RenderBlock {HR} at (1,593) size 782x2 [bgcolor=#000000]
      RenderBlock (floating) {P} at (478,617) size 296x237 [bgcolor=#FFFF00]
        RenderText {TEXT} at (8,8) size 280x221
          text run at (8,8) width 280: "This paragraph should be floated to the"
          text run at (8,25) width 280: "right, sort of like a 'sidebar' in a"
          text run at (8,42) width 235: "magazine article. Its width is 20"
          text run at (243,42) width 45: "em so"
          text run at (8,59) width 280: "the box should not be reformatted when"
          text run at (8,76) width 280: "the size of the viewport is changed (e.g."
          text run at (8,93) width 280: "when the window is resized). The"
          text run at (8,110) width 280: "background color of the element is"
          text run at (8,127) width 223: "yellow, and there should be a 3"
          text run at (231,127) width 57: "px solid"
          text run at (8,144) width 158: "red border outside a 5"
          text run at (166,144) width 122: "px wide padding."
          text run at (8,161) width 218: "Also, the element has a 10"
          text run at (226,161) width 62: "px wide"
          text run at (8,178) width 280: "margin around it where the blue"
          text run at (8,195) width 280: "background of the paragraph in the"
          text run at (8,212) width 236: "normal flow should shine through."
      RenderBlock {P} at (0,607) size 784x187 [bgcolor=#66CCFF]
        RenderText {TEXT} at (0,0) size 468x187
          text run at (0,0) width 468: "This paragraph is not floating. If there is enough room, the textual"
          text run at (0,17) width 468: "content of the paragraph should appear on the left side of the"
          text run at (0,34) width 215: "yellow \"sidebar\" on the right. "
          text run at (215,34) width 253: "The content of this element should"
          text run at (0,51) width 231: "flow around the floated element. "
          text run at (231,51) width 237: "However, the floated element may"
          text run at (0,68) width 468: "or may not be obscured by the blue background of this element, as"
          text run at (0,85) width 392: "the specification does not say which is drawn \"on top.\" "
          text run at (392,85) width 76: "Even if the"
          text run at (0,102) width 468: "floated element is obscured, it still forces the content of this"
          text run at (0,119) width 192: "element to flow around it. "
          text run at (192,119) width 276: "If the floated element is not obscured,"
          text run at (0,136) width 404: "then the blue rectangle of this paragraph should extend 10"
          text run at (404,136) width 64: "px above"
          text run at (0,153) width 468: "and to the right of the sidebar's red border, due to the margin styles"
          text run at (0,170) width 187: "set for the floated element."
      RenderBlock (anonymous) at (0,794) size 784x70 [bgcolor=#000000]
        RenderBR {BR} at (0,0) size 0x0
      RenderBlock {HR} at (1,876) size 782x2 [bgcolor=#000000]
      RenderBlock {DIV} at (0,890) size 784x25 [bgcolor=#66CCFF]
        RenderBlock (floating) {DIV} at (480,14) size 290x282 [bgcolor=#FFFF00]
          RenderBlock {P} at (5,5) size 280x272 [bgcolor=#000000]
            RenderText {TEXT} at (0,0) size 280x272
              text run at (0,0) width 280: "This paragraph is placed inside a DIV"
              text run at (0,17) width 280: "element which is floated to the right."
              text run at (0,34) width 254: "The width of the DIV element is 20"
              text run at (254,34) width 26: "em."
              text run at (0,51) width 280: "The background is yellow and there is a"
              text run at (0,68) width 142: "5px padding, a 10"
              text run at (142,68) width 138: "px margin and no"
              text run at (0,85) width 280: "border. Since it is floated, the yellow"
              text run at (0,102) width 280: "box should be rendered on top of the"
              text run at (0,119) width 280: "background and borders of adjacent"
              text run at (0,136) width 280: "non-floated elements. To the left of this"
              text run at (0,153) width 280: "yellow box there should be a short"
              text run at (0,170) width 280: "paragraph with a blue background and a"
              text run at (0,187) width 280: "red border. The yellow box should be"
              text run at (0,204) width 280: "rendered on top of the bottom red"
              text run at (0,221) width 280: "border. I.e., the bottom red border will"
              text run at (0,238) width 280: "appear broken where it's overlaid by the"
              text run at (0,255) width 115: "yellow rectangle."
        RenderBlock (anonymous) at (4,4) size 776x0 [bgcolor=#000000]
          RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#66CCFF]
        RenderBlock {P} at (4,4) size 776x17 [bgcolor=#000000]
          RenderText {TEXT} at (0,0) size 295x17
            text run at (0,0) width 295: "See description in the box on the right side"
      RenderBlock (anonymous) at (0,915) size 784x281 [bgcolor=#000000]
        RenderBR {BR} at (0,0) size 0x0
      RenderBlock {HR} at (1,1208) size 782x2 [bgcolor=#000000]
      RenderBlock (floating) {DIV} at (0,1222) size 196x68 [bgcolor=#66CCFF]
        RenderBlock {P} at (0,0) size 196x68 [bgcolor=#000000]
          RenderText {TEXT} at (0,0) size 196x68
            text run at (0,0) width 196: "This paragraph is inside a"
            text run at (0,17) width 196: "DIV which is floated left. Its"
            text run at (0,34) width 196: "background is blue and the"
            text run at (0,51) width 91: "width is 25%."
      RenderBlock (floating) {DIV} at (588,1222) size 196x68 [bgcolor=#FFFF00]
        RenderBlock {P} at (0,0) size 196x68 [bgcolor=#000000]
          RenderText {TEXT} at (0,0) size 196x68
            text run at (0,0) width 196: "This paragraph is inside a"
            text run at (0,17) width 196: "DIV which is floated right."
            text run at (0,34) width 21: "Its "
            text run at (21,34) width 175: "background is yellow and"
            text run at (0,51) width 117: "the width is 25%."
      RenderBlock {P} at (0,1222) size 784x34 [bgcolor=#000000]
        RenderText {TEXT} at (196,0) size 392x34
          text run at (196,0) width 392: "This paragraph should appear between a blue box (on"
          text run at (196,17) width 57: "the left) "
          text run at (253,17) width 213: "and a yellow box (on the right)."
      RenderBlock (anonymous) at (0,1256) size 784x34 [bgcolor=#000000]
        RenderBR {BR} at (0,0) size 0x0
      RenderBlock {HR} at (1,1302) size 782x2 [bgcolor=#000000]
      RenderBlock (floating) {DIV} at (0,1316) size 588x119 [bgcolor=#66CCFF]
        RenderBlock (floating) {DIV} at (431,0) size 147x51 [bgcolor=#FFFF00]
          RenderBlock {P} at (0,0) size 147x51 [bgcolor=#000000]
            RenderText {TEXT} at (0,0) size 147x51
              text run at (0,0) width 147: "See description in"
              text run at (0,17) width 147: "the box on the left"
              text run at (0,34) width 33: "side."
        RenderBlock (anonymous) at (0,0) size 588x0 [bgcolor=#000000]
          RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#66CCFF]
        RenderBlock {P} at (0,0) size 588x119 [bgcolor=#000000]
          RenderText {TEXT} at (0,0) size 588x119
            text run at (0,0) width 431: "This paragraph is inside a DIV which is floated left. The"
            text run at (0,17) width 431: "background of the DIV element is blue and its width is 75%."
            text run at (0,34) width 34: "This "
            text run at (34,34) width 397: "text should all be inside the blue rectangle. The blue DIV"
            text run at (0,51) width 417: "element has another DIV element as a child. It has a yellow "
            text run at (417,51) width 171: "background color and is"
            text run at (0,68) width 230: "floated to the right. Since it is a "
            text run at (230,68) width 358: "child of the blue DIV, the yellow DIV should appear"
            text run at (0,85) width 71: "inside the "
            text run at (71,85) width 431: "blue rectangle. Due to it being floated to the right and having "
            text run at (502,85) width 30: "a 10"
            text run at (532,85) width 56: "px right"
            text run at (0,102) width 309: "margin, the yellow rectange should have a 10"
            text run at (309,102) width 56: "px blue "
            text run at (365,102) width 156: "stripe on its right side."
      RenderBlock (anonymous) at (0,1316) size 784x119 [bgcolor=#000000]
        RenderBR {BR} at (0,0) size 0x0
      RenderBlock {HR} at (1,1447) size 782x2 [bgcolor=#000000]
      RenderTable {TABLE} at (0,1461) size 784x1513 [bgcolor=#000000]
        RenderTableSection {TBODY} at (1,1) size 0x1511
          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,755) 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 770x1486 [r=1 c=1 rs=1 cs=1]
              RenderBlock (floating) {P} at (4,4) size 381x34 [bgcolor=#FFFF00]
                RenderText {TEXT} at (0,0) size 381x34
                  text run at (0,0) width 381: "This paragraph is of class \"one\". It has a width of 50%"
                  text run at (0,17) width 170: "and is floated to the left."
              RenderBlock (anonymous) at (4,4) size 762x0
                RenderText {TEXT} at (0,0) size 0x0
              RenderBlock {P} at (4,4) size 762x85
                RenderText {TEXT} at (381,0) size 762x85
                  text run at (381,0) width 381: "This paragraph should start on the right side of a"
                  text run at (381,17) width 381: "yellow box which contains the previous paragraph."
                  text run at (0,34) width 762: "Since the text of this element is much longer than the text in the previous element, the text will wrap around"
                  text run at (0,51) width 762: "the yellow box. There is no padding, border or margins on this and the previous element, so the text of the"
                  text run at (0,68) width 334: "two elements should be very close to each other."
              RenderBlock (anonymous) at (4,89) size 762x17
                RenderBR {BR} at (0,0) size 0x0
              RenderBlock {HR} at (5,118) size 760x2
              RenderBlock (floating) {P} at (4,132) size 762x68 [bgcolor=#FFFF00]
                RenderText {TEXT} at (0,0) size 762x68
                  text run at (0,0) width 762: "This paragraph is of class \"two\". Since the width has been set to 100%, it should automatically be as wide as its"
                  text run at (0,17) width 762: "parent element allows it to be. Therefore, even though the element is floated, there is no room for other"
                  text run at (0,34) width 762: "content on the sides and a orange square image should be seen AFTER the paragraph, not next to it. A yellow"
                  text run at (0,51) width 487: "background has been added to this paragraph for diagnostic purposes."
              RenderBlock (anonymous) at (4,132) size 762x86
                RenderImage {IMG} at (0,68) size 15x15
                RenderText {TEXT} at (15,69) size 4x17
                  text run at (15,69) width 4: " "
                RenderBR {BR} at (0,0) size 0x0
              RenderBlock {HR} at (5,230) size 760x2
              RenderBlock (floating) {P} at (4,244) size 381x102 [bgcolor=#FFFF00]
                RenderText {TEXT} at (0,0) size 381x102
                  text run at (0,0) width 381: "This paragraph is floated to the left and the orange"
                  text run at (0,17) width 381: "square image should appear to the right of the"
                  text run at (0,34) width 381: "paragraph. This paragraph has a yellow background"
                  text run at (0,51) width 381: "and no padding, margin or border. The right edge of"
                  text run at (0,68) width 381: "this yellow box should be horizontally aligned with the"
                  text run at (0,85) width 275: "left edge of the yellow box undernearth."
              RenderBlock (anonymous) at (4,244) size 762x102
                RenderImage {IMG} at (381,0) size 15x15
                RenderText {TEXT} at (396,1) size 4x17
                  text run at (396,1) width 4: " "
                RenderBR {BR} at (0,0) size 0x0
              RenderBlock {HR} at (5,358) size 760x2
              RenderBlock (floating) {P} at (385,372) size 381x102 [bgcolor=#FFFF00]
                RenderText {TEXT} at (0,0) size 381x102
                  text run at (0,0) width 381: "This paragraph is floated to the right (using a STYLE"
                  text run at (0,17) width 381: "attribute) and the orange square image should appear"
                  text run at (0,34) width 381: "to the left of the paragraph. This paragraph has a"
                  text run at (0,51) width 381: "yellow background and no padding, margin or border."
                  text run at (0,68) width 381: "The left edge of this yellow box should be horizonally"
                  text run at (0,85) width 355: "aligned with the right edge of the yellow box above."
              RenderBlock (anonymous) at (4,372) size 762x102
                RenderImage {IMG} at (0,0) size 15x15
                RenderText {TEXT} at (15,1) size 4x17
                  text run at (15,1) width 4: " "
                RenderBR {BR} at (0,0) size 0x0
              RenderBlock {HR} at (5,486) size 760x2
              RenderBlock {P} at (4,500) size 762x68
                RenderBlock (floating) {SPAN} at (0,0) size 42x33 [bgcolor=#C0C0C0]
                  RenderText {TEXT} at (0,0) size 20x33
                    text run at (0,0) width 20: "T"
                RenderText {TEXT} at (42,0) size 762x68
                  text run at (42,0) width 720: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the"
                  text run at (42,17) width 382: "paragraph, as well as bold, with a content width of 1.5"
                  text run at (424,17) width 265: "em and a background-color of silver. "
                  text run at (689,17) width 73: "The top of"
                  text run at (0,34) width 762: "the big letter \"T\" should be vertically aligned with the top of the first line of this paragraph. This is commonly"
                  text run at (0,51) width 148: "known as \"drop-cap\"."
              RenderBlock (anonymous) at (4,568) size 762x17
                RenderBR {BR} at (0,0) size 0x0
              RenderBlock {HR} at (5,597) size 760x2
              RenderBlock (floating) {P} at (460,621) size 296x237 [bgcolor=#FFFF00]
                RenderText {TEXT} at (8,8) size 280x221
                  text run at (8,8) width 280: "This paragraph should be floated to the"
                  text run at (8,25) width 280: "right, sort of like a 'sidebar' in a"
                  text run at (8,42) width 235: "magazine article. Its width is 20"
                  text run at (243,42) width 45: "em so"
                  text run at (8,59) width 280: "the box should not be reformatted when"
                  text run at (8,76) width 280: "the size of the viewport is changed (e.g."
                  text run at (8,93) width 280: "when the window is resized). The"
                  text run at (8,110) width 280: "background color of the element is"
                  text run at (8,127) width 223: "yellow, and there should be a 3"
                  text run at (231,127) width 57: "px solid"
                  text run at (8,144) width 158: "red border outside a 5"
                  text run at (166,144) width 122: "px wide padding."
                  text run at (8,161) width 218: "Also, the element has a 10"
                  text run at (226,161) width 62: "px wide"
                  text run at (8,178) width 280: "margin around it where the blue"
                  text run at (8,195) width 280: "background of the paragraph in the"
                  text run at (8,212) width 236: "normal flow should shine through."
              RenderBlock {P} at (4,611) size 762x204 [bgcolor=#66CCFF]
                RenderText {TEXT} at (0,0) size 446x204
                  text run at (0,0) width 446: "This paragraph is not floating. If there is enough room, the"
                  text run at (0,17) width 446: "textual content of the paragraph should appear on the left side"
                  text run at (0,34) width 253: "of the yellow \"sidebar\" on the right. "
                  text run at (253,34) width 193: "The content of this element"
                  text run at (0,51) width 297: "should flow around the floated element. "
                  text run at (297,51) width 149: "However, the floated"
                  text run at (0,68) width 446: "element may or may not be obscured by the blue background of"
                  text run at (0,85) width 446: "this element, as the specification does not say which is drawn"
                  text run at (0,102) width 68: "\"on top.\" "
                  text run at (68,102) width 378: "Even if the floated element is obscured, it still forces"
                  text run at (0,119) width 349: "the content of this element to flow around it. "
                  text run at (349,119) width 97: "If the floated"
                  text run at (0,136) width 446: "element is not obscured, then the blue rectangle of this"
                  text run at (0,153) width 203: "paragraph should extend 10"
                  text run at (203,153) width 243: "px above and to the right of the"
                  text run at (0,170) width 446: "sidebar's red border, due to the margin styles set for the floated"
                  text run at (0,187) width 60: "element."
              RenderBlock (anonymous) at (4,815) size 762x53
                RenderBR {BR} at (0,0) size 0x0
              RenderBlock {HR} at (5,880) size 760x2
              RenderBlock {DIV} at (4,894) size 762x25 [bgcolor=#66CCFF]
                RenderBlock (floating) {DIV} at (458,14) size 290x282 [bgcolor=#FFFF00]
                  RenderBlock {P} at (5,5) size 280x272 [bgcolor=#000000]
                    RenderText {TEXT} at (0,0) size 280x272
                      text run at (0,0) width 280: "This paragraph is placed inside a DIV"
                      text run at (0,17) width 280: "element which is floated to the right."
                      text run at (0,34) width 254: "The width of the DIV element is 20"
                      text run at (254,34) width 26: "em."
                      text run at (0,51) width 280: "The background is yellow and there is a"
                      text run at (0,68) width 142: "5px padding, a 10"
                      text run at (142,68) width 138: "px margin and no"
                      text run at (0,85) width 280: "border. Since it is floated, the yellow"
                      text run at (0,102) width 280: "box should be rendered on top of the"
                      text run at (0,119) width 280: "background and borders of adjacent"
                      text run at (0,136) width 280: "non-floated elements. To the left of this"
                      text run at (0,153) width 280: "yellow box there should be a short"
                      text run at (0,170) width 280: "paragraph with a blue background and a"
                      text run at (0,187) width 280: "red border. The yellow box should be"
                      text run at (0,204) width 280: "rendered on top of the bottom red"
                      text run at (0,221) width 280: "border. I.e., the bottom red border will"
                      text run at (0,238) width 280: "appear broken where it's overlaid by the"
                      text run at (0,255) width 115: "yellow rectangle."
                RenderBlock (anonymous) at (4,4) size 754x0 [bgcolor=#000000]
                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#66CCFF]
                RenderBlock {P} at (4,4) size 754x17 [bgcolor=#000000]
                  RenderText {TEXT} at (0,0) size 295x17
                    text run at (0,0) width 295: "See description in the box on the right side"
              RenderBlock (anonymous) at (4,919) size 762x281
                RenderBR {BR} at (0,0) size 0x0
              RenderBlock {HR} at (5,1212) size 760x2
              RenderBlock (floating) {DIV} at (4,1226) size 190x68 [bgcolor=#66CCFF]
                RenderBlock {P} at (0,0) size 190x68 [bgcolor=#000000]
                  RenderText {TEXT} at (0,0) size 190x68
                    text run at (0,0) width 190: "This paragraph is inside a"
                    text run at (0,17) width 190: "DIV which is floated left. Its"
                    text run at (0,34) width 190: "background is blue and the"
                    text run at (0,51) width 91: "width is 25%."
              RenderBlock (floating) {DIV} at (576,1226) size 190x68 [bgcolor=#FFFF00]
                RenderBlock {P} at (0,0) size 190x68 [bgcolor=#000000]
                  RenderText {TEXT} at (0,0) size 190x68
                    text run at (0,0) width 190: "This paragraph is inside a"
                    text run at (0,17) width 190: "DIV which is floated right."
                    text run at (0,34) width 29: "Its "
                    text run at (29,34) width 161: "background is yellow"
                    text run at (0,51) width 147: "and the width is 25%."
              RenderBlock {P} at (4,1226) size 762x34
                RenderText {TEXT} at (190,0) size 382x34
                  text run at (190,0) width 382: "This paragraph should appear between a blue box (on"
                  text run at (190,17) width 57: "the left) "
                  text run at (247,17) width 213: "and a yellow box (on the right)."
              RenderBlock (anonymous) at (4,1260) size 762x34
                RenderBR {BR} at (0,0) size 0x0
              RenderBlock {HR} at (5,1306) size 760x2
              RenderBlock (floating) {DIV} at (4,1320) size 571x136 [bgcolor=#66CCFF]
                RenderBlock (floating) {DIV} at (419,0) size 142x51 [bgcolor=#FFFF00]
                  RenderBlock {P} at (0,0) size 142x51 [bgcolor=#000000]
                    RenderText {TEXT} at (0,0) size 142x51
                      text run at (0,0) width 142: "See description in"
                      text run at (0,17) width 142: "the box on the left"
                      text run at (0,34) width 33: "side."
                RenderBlock (anonymous) at (0,0) size 571x0 [bgcolor=#000000]
                  RenderText {TEXT} at (0,0) size 0x0 [bgcolor=#66CCFF]
                RenderBlock {P} at (0,0) size 571x136 [bgcolor=#000000]
                  RenderText {TEXT} at (0,0) size 571x136
                    text run at (0,0) width 419: "This paragraph is inside a DIV which is floated left. The"
                    text run at (0,17) width 419: "background of the DIV element is blue and its width is 75%."
                    text run at (0,34) width 35: "This "
                    text run at (35,34) width 384: "text should all be inside the blue rectangle. The blue"
                    text run at (0,51) width 29: "DIV "
                    text run at (29,51) width 419: "element has another DIV element as a child. It has a yellow "
                    text run at (448,51) width 123: "background color"
                    text run at (0,68) width 271: "and is floated to the right. Since it is a "
                    text run at (271,68) width 300: "child of the blue DIV, the yellow DIV should"
                    text run at (0,85) width 125: "appear inside the "
                    text run at (125,85) width 438: "blue rectangle. Due to it being floated to the right and having "
                    text run at (563,85) width 8: "a"
                    text run at (0,102) width 392: "10px right margin, the yellow rectange should have a 10"
                    text run at (392,102) width 57: "px blue "
                    text run at (449,102) width 122: "stripe on its right"
                    text run at (0,119) width 33: "side."
              RenderBlock (anonymous) at (4,1320) size 762x136
                RenderBR {BR} at (0,0) size 0x0
              RenderBlock {HR} at (5,1468) size 760x2