layer at (0,0) size 785x6082 RenderView at (0,0) size 785x600 layer at (0,0) size 785x6082 RenderBlock {HTML} at (0,0) size 785x6082 RenderBody {BODY} at (8,8) size 769x6066 [bgcolor=#CCCCCC] RenderBlock {P} at (0,0) size 769x17 RenderText {#text} at (0,0) size 355x17 text run at (0,0) width 355: "The style declarations which apply to the text below are:" RenderBlock {PRE} at (0,33) size 769x135 RenderText {#text} at (0,0) size 480x135 text run at (0,0) width 272: "HR.minor {clear: both; width: 5%;}" text run at (272,0) width 0: " " text run at (0,15) width 400: "HR.major {clear: both; width: 75%; margin: 1.5em;}" text run at (400,15) width 0: " " text run at (0,30) width 480: "DIV {border: 5px solid purple; padding: 0; margin: 0.125em;}" text run at (480,30) width 0: " " text run at (0,45) width 432: "P.left, P.right {width: 10em; padding: 1em; margin: 0;" text run at (432,45) width 0: " " text run at (0,60) width 424: " border: 1px solid lime; background-color: silver;}" text run at (424,60) width 0: " " text run at (0,75) width 456: "IMG.left, IMG.right {margin: 0; border: 3px solid black;}" text run at (456,75) width 0: " " text run at (0,90) width 160: ".left {float: left;}" text run at (160,90) width 0: " " text run at (0,105) width 176: ".right {float: right;}" text run at (176,105) width 0: " " text run at (0,120) width 0: " " RenderBlock {HR} at (0,181) size 769x2 [border: (1px inset #000000)] RenderBlock {P} at (0,199) size 769x34 RenderText {#text} at (0,0) size 751x34 text run at (0,0) width 681: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. " text run at (681,0) width 67: "Other than" text run at (0,17) width 751: "the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the floats." RenderBlock {HR} at (24,257) size 579x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,283) size 765x95 [border: (5px solid #800080)] RenderBlock (floating) {P} at (5,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 112: "paragraph (first in" text run at (17,51) width 50: "source)." RenderBlock (floating) {P} at (566,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 139x51 text run at (17,17) width 139: "This is a right-floating" text run at (17,34) width 132: "paragraph (second in" text run at (17,51) width 50: "source)." RenderText {#text} at (199,5) size 363x85 text run at (199,5) width 177: "This is text within the DIV. " text run at (376,5) width 180: "The floating elements within" text run at (199,22) width 363: "this DIV should not go beyond the left or right inner edge" text run at (199,39) width 356: "of this DIV, which means that the borders of the floating" text run at (199,56) width 360: "elements should not overlap the top or side borders of the" text run at (199,73) width 33: "DIV." RenderBlock {HR} at (364,386) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,396) size 765x61 [border: (5px solid #800080)] RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)] RenderImage {IMG} at (745,5) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (20,5) size 713x51 text run at (20,5) width 177: "This is text within the DIV. " text run at (197,5) width 536: "The floating images within this DIV should not go beyond the left or right inner edge" text run at (20,22) width 709: "of this DIV, which means that the borders of the floating images should not overlap the top or side borders of the" text run at (20,39) width 33: "DIV." RenderBlock {HR} at (24,481) size 579x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,507) size 442x214 [border: (5px solid #800080)] RenderBlock (floating) {P} at (5,5) size 194x68 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 122x34 text run at (17,17) width 122: "This is the first left-" text run at (17,34) width 119: "floating paragraph." RenderBlock (floating) {P} at (199,5) size 194x68 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 142x34 text run at (17,17) width 142: "This is the second left-" text run at (17,34) width 119: "floating paragraph." RenderBlock (floating) {P} at (5,73) size 194x68 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 127x34 text run at (17,17) width 127: "This is the third left-" text run at (17,34) width 119: "floating paragraph." RenderText {#text} at (393,5) size 430x204 text run at (393,5) width 42: "This is" text run at (393,22) width 23: "text" text run at (393,39) width 40: "within" text run at (393,56) width 19: "the" text run at (199,73) width 37: "DIV. " text run at (236,73) width 180: "The floating elements within" text run at (199,90) width 219: "this DIV should not go beyond the" text run at (199,107) width 220: "left or right inner edge of this DIV," text run at (199,124) width 224: "which means that the borders of the" text run at (5,141) width 412: "floating elements should not overlap the top or side borders of the" text run at (5,158) width 111: "DIV in any way. " text run at (116,158) width 297: "In addition, they should not overlap each other." text run at (5,175) width 425: "The first two should be side by side, whereas the third should be on" text run at (5,192) width 95: "the next \"line.\"" RenderBlock {HR} at (364,729) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,739) size 360x199 [border: (5px solid #800080)] RenderImage {IMG} at (5,5) size 156x36 [border: (3px solid #000000)] RenderImage {IMG} at (161,5) size 156x36 [border: (3px solid #000000)] RenderImage {IMG} at (5,41) size 156x36 [border: (3px solid #000000)] RenderText {#text} at (317,5) size 350x189 text run at (317,5) width 28: "This" text run at (317,22) width 37: "is text" text run at (161,41) width 104: "within the DIV. " text run at (265,41) width 77: "The floating" text run at (161,58) width 193: "images within this DIV should" text run at (161,75) width 188: "not go beyond the left or right" text run at (5,92) width 334: "inner edge of this DIV, which means that the borders" text run at (5,109) width 350: "of the floating images should not overlap the top or side" text run at (5,126) width 202: "borders of the DIV in any way. " text run at (207,126) width 103: "In addition, they" text run at (5,143) width 194: "should not overlap each other. " text run at (199,143) width 146: "The first two should be" text run at (5,160) width 329: "side by side, whereas the third should be on the next" text run at (5,177) width 41: "\"line.\"" RenderBlock {HR} at (24,962) size 579x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,988) size 314x333 [border: (5px solid #800080)] RenderBlock (floating) {P} at (5,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 112: "paragraph (first in" text run at (17,51) width 50: "source)." RenderBlock (floating) {P} at (115,90) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 139x51 text run at (17,17) width 139: "This is a right-floating" text run at (17,34) width 132: "paragraph (second in" text run at (17,51) width 50: "source)." RenderText {#text} at (199,5) size 295x323 text run at (199,5) width 69: "This is text" text run at (199,22) width 100: "within the DIV." text run at (199,39) width 77: "The floating" text run at (199,56) width 99: "elements within" text run at (199,73) width 101: "this DIV should" text run at (5,90) width 91: "not go beyond" text run at (5,107) width 93: "the left or right" text run at (5,124) width 109: "inner edge of this" text run at (5,141) width 76: "DIV, which" text run at (5,158) width 90: "means that the" text run at (5,175) width 268: "borders of the floating elements should not" text run at (5,192) width 280: "overlap the top or side borders of the DIV in" text run at (5,209) width 62: "any way. " text run at (67,209) width 224: "In addition, they should not overlap" text run at (5,226) width 284: "each other in any way, nor should the floated" text run at (5,243) width 261: "elements be overwritten by the DIV text. " text run at (266,243) width 13: "In" text run at (5,260) width 273: "addition, the floated elements should not be" text run at (5,277) width 268: "side-by-side, but instead the first should be" text run at (5,294) width 288: "floated left, and the second floated to the right" text run at (5,311) width 94: "below the first." RenderBlock {HR} at (364,1329) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,1339) size 410x216 [border: (5px solid #800080)] RenderImage {IMG} at (5,5) size 256x36 [border: (3px solid #000000)] RenderImage {IMG} at (149,41) size 256x36 [border: (3px solid #000000)] RenderText {#text} at (261,5) size 392x206 text run at (261,5) width 136: "This is text within the" text run at (261,22) width 37: "DIV. " text run at (298,22) width 77: "The floating" text run at (5,41) width 114: "images within this" text run at (5,58) width 119: "DIV should not go" text run at (5,75) width 144: "beyond the left or right" text run at (5,92) width 374: "inner edge of this DIV, which means that the borders of the" text run at (5,109) width 378: "floating images should not overlap the top or side borders of" text run at (5,126) width 134: "the DIV in any way. " text run at (139,126) width 257: "In addition, they should not overlap each" text run at (5,143) width 329: "other in any way, nor should the floated elements be" text run at (5,160) width 183: "overwritten by the DIV text. " text run at (188,160) width 190: "In addition, the floated images" text run at (5,177) width 357: "should not be side-by-side, but instead the first should be" text run at (5,194) width 386: "floated left, and the second floated to the right below the first." RenderBlock {HR} at (24,1579) size 579x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,1605) size 765x112 [border: (5px solid #800080)] RenderBlock (floating) {P} at (566,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 139x51 text run at (17,17) width 139: "This is a right-floating" text run at (17,34) width 112: "paragraph (first in" text run at (17,51) width 50: "source)." RenderBlock (floating) {P} at (5,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 132x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 132: "paragraph (second in" text run at (17,51) width 50: "source)." RenderText {#text} at (199,5) size 551x102 text run at (199,5) width 177: "This is text within the DIV. " text run at (376,5) width 180: "The floating elements within" text run at (199,22) width 352: "this DIV should not go beyond the top side of this DIV," text run at (199,39) width 335: "which means that the borders of the floating elements" text run at (199,56) width 350: "should not overlap the top or side borders of the DIV in" text run at (199,73) width 62: "any way. " text run at (261,73) width 264: "In addition, the top of the left-floating box" text run at (5,90) width 365: "should not be higher than the top of the right-floating box." RenderBlock {HR} at (364,1725) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,1735) size 765x61 [border: (5px solid #800080)] RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)] RenderImage {IMG} at (745,5) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (20,5) size 705x51 text run at (20,5) width 177: "This is text within the DIV. " text run at (197,5) width 525: "The floating images within this DIV should not go beyond the top side of this DIV," text run at (20,22) width 705: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in any" text run at (20,39) width 35: "way. " text run at (55,39) width 661: "In addition, the top of the left-floating image should not be higher than the top of the right-floating image." RenderBlock {HR} at (24,1820) size 579x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,1846) size 765x129 [border: (5px solid #800080)] RenderText {#text} at (199,5) size 185x17 text run at (199,5) width 177: "This is text within the DIV. " text run at (376,5) width 8: "*" RenderBlock (floating) {P} at (5,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 112: "paragraph (first in" text run at (17,51) width 50: "source)." RenderText {#text} at (384,5) size 545x34 text run at (384,5) width 360: " The floating elements within this DIV should not go any" text run at (199,22) width 477: "higher than the line-box containing the inline content which precedes them. " text run at (676,22) width 12: "* " RenderBlock (floating) {P} at (566,39) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 139x51 text run at (17,17) width 139: "This is a right-floating" text run at (17,34) width 132: "paragraph (second in" text run at (17,51) width 50: "source)." RenderText {#text} at (688,22) size 755x102 text run at (688,22) width 72: "This means" text run at (199,39) width 349: "that the top side of each float can be, at most, as high as" text run at (199,56) width 352: "the top edge of the inline element containing the content" text run at (199,73) width 331: "just before the floating elements occur in the source. " text run at (530,73) width 13: "In" text run at (5,90) width 545: "order to mark these points clearly, an asterisk has been inserted just before each floated" text run at (5,107) width 53: "element." RenderBlock {HR} at (364,1983) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,1993) size 765x78 [border: (5px solid #800080)] RenderText {#text} at (20,5) size 185x17 text run at (20,5) width 177: "This is text within the DIV. " text run at (197,5) width 8: "*" RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (205,5) size 688x34 text run at (205,5) width 503: " The floating images within this DIV should not go any higher than the line-box" text run at (20,22) width 323: "containing the inline content which precedes them. " text run at (343,22) width 12: "* " RenderImage {IMG} at (745,22) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (355,22) size 736x51 text run at (355,22) width 376: "This means that the top side of each float can be, at most, as" text run at (20,39) width 721: "high as the top edge of the inline element containing the content just before the floating images occur in the source." text run at (5,56) width 608: "In order to mark these points clearly, an asterisk has been inserted just before each floated image." RenderBlock {HR} at (24,2095) size 579x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,2121) size 765x248 [border: (5px solid #800080)] RenderText {#text} at (199,5) size 185x17 text run at (199,5) width 177: "This is text within the DIV. " text run at (376,5) width 8: "*" RenderBlock (floating) {P} at (5,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 112: "paragraph (first in" text run at (17,51) width 50: "source)." RenderText {#text} at (384,5) size 545x34 text run at (384,5) width 360: " The floating elements within this DIV should not go any" text run at (199,22) width 477: "higher than the line-box containing the inline content which precedes them. " text run at (676,22) width 12: "* " RenderBlock (floating) {P} at (566,39) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 139x51 text run at (17,17) width 139: "This is a right-floating" text run at (17,34) width 132: "paragraph (second in" text run at (17,51) width 50: "source)." RenderText {#text} at (688,22) size 561x34 text run at (688,22) width 72: "This means" text run at (199,39) width 238: "that the top side of each float can be,*" RenderBlock (floating) {P} at (199,56) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 117: "paragraph (third in" text run at (17,51) width 50: "source)." RenderText {#text} at (437,39) size 274x102 text run at (437,39) width 119: " at most, as high as" text run at (393,56) width 156: "the top edge of the inline" text run at (393,73) width 142: "element containing the" text run at (393,90) width 139: "content just before the" text run at (393,107) width 162: "floating elements occur in" text run at (587,124) width 72: "the source. " text run at (659,124) width 8: "*" RenderBlock (floating) {P} at (393,124) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 126: "paragraph (fourth in" text run at (17,51) width 50: "source)." RenderText {#text} at (667,124) size 742x119 text run at (667,124) width 70: " In order to" text run at (587,141) width 160: "mark these points clearly," text run at (587,158) width 125: "an asterisk has been" text run at (587,175) width 152: "inserted just before each" text run at (587,192) width 104: "floated element. " text run at (691,192) width 48: "If a line" text run at (5,209) width 722: "has room for a floated element, then the element should float so that its top is aligned with the top of the line-box in" text run at (5,226) width 173: "which the asterisk appears. " text run at (178,226) width 402: "Otherwise, its top should align with the top of the next line-box." RenderBlock {HR} at (364,2377) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,2387) size 765x112 [border: (5px solid #800080)] RenderText {#text} at (20,5) size 185x17 text run at (20,5) width 177: "This is text within the DIV. " text run at (197,5) width 8: "*" RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (205,5) size 673x34 text run at (205,5) width 503: " The floating images within this DIV should not go any higher than the line-box" text run at (35,22) width 323: "containing the inline content which precedes them. " text run at (358,22) width 12: "* " RenderImage {IMG} at (745,22) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (370,22) size 318x17 text run at (370,22) width 310: "This means that the top side of each float can be, " text run at (680,22) width 8: "*" RenderImage {IMG} at (20,22) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (688,22) size 706x51 text run at (688,22) width 53: " at most," text run at (35,39) width 689: "as high as the top edge of the inline element containing the content just before the floating images occur in the" text run at (50,56) width 49: "source. " text run at (99,56) width 8: "*" RenderImage {IMG} at (35,56) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (107,56) size 694x51 text run at (107,56) width 616: " In order to mark these points clearly, an asterisk has been inserted just before each floated image. " text run at (723,56) width 21: "If a" text run at (50,73) width 687: "line has room for a floated image, then the image should float so that its top is aligned with the top of the line-" text run at (50,90) width 217: "box in which the asterisk appears. " text run at (267,90) width 402: "Otherwise, its top should align with the top of the next line-box." RenderBlock {HR} at (24,2523) size 579x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,2549) size 490x282 [border: (5px solid #800080)] RenderText {#text} at (199,5) size 54x17 text run at (199,5) width 54: "This is *" RenderBlock (floating) {P} at (5,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 112: "paragraph (first in" text run at (17,51) width 50: "source)." RenderText {#text} at (253,5) size 12x17 text run at (253,5) width 12: " *" RenderBlock (floating) {P} at (291,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 139x51 text run at (17,17) width 139: "This is a right-floating" text run at (17,34) width 132: "paragraph (second in" text run at (17,51) width 50: "source)." RenderText {#text} at (199,22) size 477x255 text run at (199,22) width 90: "text within the" text run at (199,39) width 37: "DIV. " text run at (236,39) width 40: "Under" text run at (199,56) width 88: "CSS1, the left" text run at (199,73) width 48: "floating" text run at (5,90) width 477: "element should be placed in the upper left corner of the DIV, and the purple" text run at (5,107) width 447: "border of the DIV should abut the green border of the floating element." text run at (5,124) width 444: "Similarly, the right floating element should be placed in the upper right" text run at (5,141) width 468: "corner of the DIV, and the purple border of the DIV should abut the green" text run at (5,158) width 451: "border of the floating element. The text of the DIV element should flow" text run at (5,175) width 461: "between and under the two floating elements. The two asterisk characters" text run at (5,192) width 468: "mark the insertion points of the floating elements. It is expected that, under" text run at (5,209) width 470: "future specifications, it may be acceptable for the top of floated elements to" text run at (5,226) width 475: "align with the top of the line-box following the insertion point of the floated" text run at (5,243) width 466: "element to avoid floating elements appearing before text which precedes it" text run at (5,260) width 150: "in the source document." RenderBlock {HR} at (364,2839) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (2,2849) size 490x214 [border: (5px solid #800080)] RenderText {#text} at (20,5) size 54x17 text run at (20,5) width 54: "This is *" RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (74,5) size 12x17 text run at (74,5) width 12: " *" RenderImage {IMG} at (470,5) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (86,5) size 480x204 text run at (86,5) width 135: " text within the DIV. " text run at (221,5) width 226: "Under CSS1, the left floating image" text run at (20,22) width 424: "should be placed in the upper left corner of the DIV, and the purple" text run at (20,39) width 436: "border of the DIV should abut the green border of the floating image." text run at (5,56) width 477: "Similarly, the right floating image should be placed in the upper right corner" text run at (5,73) width 469: "of the DIV, and the purple border of the DIV should abut the green border" text run at (5,90) width 479: "of the floating image. The text of the DIV element should flow between and" text run at (5,107) width 477: "under the two floating image. The two asterisk characters mark the insertion" text run at (5,124) width 180: "points of the floating image. " text run at (185,124) width 300: "It is expected that, under future specifications, it" text run at (5,141) width 478: "may be acceptable for the top of floated elements to align with the top of the" text run at (5,158) width 429: "line-box following the insertion point of the floated element to avoid" text run at (5,175) width 442: "floating elements appearing before text which precedes it in the source" text run at (5,192) width 66: "document." RenderBlock {HR} at (24,3087) size 579x2 [border: (1px inset #000000)] RenderTable {TABLE} at (0,3113) size 769x2953 [border: (1px outset #808080)] RenderTableSection {TBODY} at (1,1) size 767x2951 RenderTableRow {TR} at (0,0) size 767x25 RenderTableCell {TD} at (0,0) size 767x25 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2] RenderInline {STRONG} at (0,0) size 163x17 RenderText {#text} at (4,4) size 163x17 text run at (4,4) width 163: "TABLE Testing Section" RenderTableRow {TR} at (0,25) size 767x2926 RenderTableCell {TD} at (0,1475) size 12x25 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1] RenderText {#text} at (4,4) size 4x17 text run at (4,4) width 4: " " RenderTableCell {TD} at (12,25) size 755x2926 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1] RenderBlock {P} at (4,4) size 747x51 RenderText {#text} at (0,0) size 740x51 text run at (0,0) width 681: "On this test page, each test is performed once with floating paragraphs, and then again with floating images. " text run at (681,0) width 36: "Other" text run at (0,17) width 740: "than the substitution of images for pargraphs, the structure of the test is exactly the same, including the direction of the" text run at (0,34) width 38: "floats." RenderBlock {HR} at (28,79) size 563x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,105) size 743x95 [border: (5px solid #800080)] RenderBlock (floating) {P} at (5,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 112: "paragraph (first in" text run at (17,51) width 50: "source)." RenderBlock (floating) {P} at (544,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 139x51 text run at (17,17) width 139: "This is a right-floating" text run at (17,34) width 132: "paragraph (second in" text run at (17,51) width 50: "source)." RenderText {#text} at (199,5) size 337x85 text run at (199,5) width 177: "This is text within the DIV. " text run at (376,5) width 136: "The floating elements" text run at (199,22) width 337: "within this DIV should not go beyond the left or right" text run at (199,39) width 334: "inner edge of this DIV, which means that the borders" text run at (199,56) width 332: "of the floating elements should not overlap the top or" text run at (199,73) width 153: "side borders of the DIV." RenderBlock {HR} at (357,208) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,218) size 743x61 [border: (5px solid #800080)] RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)] RenderImage {IMG} at (723,5) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (20,5) size 703x51 text run at (20,5) width 177: "This is text within the DIV. " text run at (197,5) width 502: "The floating images within this DIV should not go beyond the left or right inner" text run at (20,22) width 703: "edge of this DIV, which means that the borders of the floating images should not overlap the top or side borders" text run at (20,39) width 73: "of the DIV." RenderBlock {HR} at (28,303) size 563x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,329) size 442x214 [border: (5px solid #800080)] RenderBlock (floating) {P} at (5,5) size 194x68 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 122x34 text run at (17,17) width 122: "This is the first left-" text run at (17,34) width 119: "floating paragraph." RenderBlock (floating) {P} at (199,5) size 194x68 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 142x34 text run at (17,17) width 142: "This is the second left-" text run at (17,34) width 119: "floating paragraph." RenderBlock (floating) {P} at (5,73) size 194x68 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 127x34 text run at (17,17) width 127: "This is the third left-" text run at (17,34) width 119: "floating paragraph." RenderText {#text} at (393,5) size 430x204 text run at (393,5) width 42: "This is" text run at (393,22) width 23: "text" text run at (393,39) width 40: "within" text run at (393,56) width 19: "the" text run at (199,73) width 37: "DIV. " text run at (236,73) width 180: "The floating elements within" text run at (199,90) width 219: "this DIV should not go beyond the" text run at (199,107) width 220: "left or right inner edge of this DIV," text run at (199,124) width 224: "which means that the borders of the" text run at (5,141) width 412: "floating elements should not overlap the top or side borders of the" text run at (5,158) width 111: "DIV in any way. " text run at (116,158) width 297: "In addition, they should not overlap each other." text run at (5,175) width 425: "The first two should be side by side, whereas the third should be on" text run at (5,192) width 95: "the next \"line.\"" RenderBlock {HR} at (357,551) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,561) size 360x199 [border: (5px solid #800080)] RenderImage {IMG} at (5,5) size 156x36 [border: (3px solid #000000)] RenderImage {IMG} at (161,5) size 156x36 [border: (3px solid #000000)] RenderImage {IMG} at (5,41) size 156x36 [border: (3px solid #000000)] RenderText {#text} at (317,5) size 350x189 text run at (317,5) width 28: "This" text run at (317,22) width 37: "is text" text run at (161,41) width 104: "within the DIV. " text run at (265,41) width 77: "The floating" text run at (161,58) width 193: "images within this DIV should" text run at (161,75) width 188: "not go beyond the left or right" text run at (5,92) width 334: "inner edge of this DIV, which means that the borders" text run at (5,109) width 350: "of the floating images should not overlap the top or side" text run at (5,126) width 202: "borders of the DIV in any way. " text run at (207,126) width 103: "In addition, they" text run at (5,143) width 194: "should not overlap each other. " text run at (199,143) width 146: "The first two should be" text run at (5,160) width 329: "side by side, whereas the third should be on the next" text run at (5,177) width 41: "\"line.\"" RenderBlock {HR} at (28,784) size 563x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,810) size 314x333 [border: (5px solid #800080)] RenderBlock (floating) {P} at (5,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 112: "paragraph (first in" text run at (17,51) width 50: "source)." RenderBlock (floating) {P} at (115,90) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 139x51 text run at (17,17) width 139: "This is a right-floating" text run at (17,34) width 132: "paragraph (second in" text run at (17,51) width 50: "source)." RenderText {#text} at (199,5) size 295x323 text run at (199,5) width 69: "This is text" text run at (199,22) width 100: "within the DIV." text run at (199,39) width 77: "The floating" text run at (199,56) width 99: "elements within" text run at (199,73) width 101: "this DIV should" text run at (5,90) width 91: "not go beyond" text run at (5,107) width 93: "the left or right" text run at (5,124) width 109: "inner edge of this" text run at (5,141) width 76: "DIV, which" text run at (5,158) width 90: "means that the" text run at (5,175) width 268: "borders of the floating elements should not" text run at (5,192) width 280: "overlap the top or side borders of the DIV in" text run at (5,209) width 62: "any way. " text run at (67,209) width 224: "In addition, they should not overlap" text run at (5,226) width 284: "each other in any way, nor should the floated" text run at (5,243) width 261: "elements be overwritten by the DIV text. " text run at (266,243) width 13: "In" text run at (5,260) width 273: "addition, the floated elements should not be" text run at (5,277) width 268: "side-by-side, but instead the first should be" text run at (5,294) width 288: "floated left, and the second floated to the right" text run at (5,311) width 94: "below the first." RenderBlock {HR} at (357,1151) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,1161) size 410x216 [border: (5px solid #800080)] RenderImage {IMG} at (5,5) size 256x36 [border: (3px solid #000000)] RenderImage {IMG} at (149,41) size 256x36 [border: (3px solid #000000)] RenderText {#text} at (261,5) size 392x206 text run at (261,5) width 136: "This is text within the" text run at (261,22) width 37: "DIV. " text run at (298,22) width 77: "The floating" text run at (5,41) width 114: "images within this" text run at (5,58) width 119: "DIV should not go" text run at (5,75) width 144: "beyond the left or right" text run at (5,92) width 374: "inner edge of this DIV, which means that the borders of the" text run at (5,109) width 378: "floating images should not overlap the top or side borders of" text run at (5,126) width 134: "the DIV in any way. " text run at (139,126) width 257: "In addition, they should not overlap each" text run at (5,143) width 329: "other in any way, nor should the floated elements be" text run at (5,160) width 183: "overwritten by the DIV text. " text run at (188,160) width 190: "In addition, the floated images" text run at (5,177) width 357: "should not be side-by-side, but instead the first should be" text run at (5,194) width 386: "floated left, and the second floated to the right below the first." RenderBlock {HR} at (28,1401) size 563x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,1427) size 743x112 [border: (5px solid #800080)] RenderBlock (floating) {P} at (544,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 139x51 text run at (17,17) width 139: "This is a right-floating" text run at (17,34) width 112: "paragraph (first in" text run at (17,51) width 50: "source)." RenderBlock (floating) {P} at (5,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 132x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 132: "paragraph (second in" text run at (17,51) width 50: "source)." RenderText {#text} at (199,5) size 533x102 text run at (199,5) width 177: "This is text within the DIV. " text run at (376,5) width 136: "The floating elements" text run at (199,22) width 333: "within this DIV should not go beyond the top side of" text run at (199,39) width 339: "this DIV, which means that the borders of the floating" text run at (199,56) width 337: "elements should not overlap the top or side borders of" text run at (199,73) width 134: "the DIV in any way. " text run at (333,73) width 188: "In addition, the top of the left-" text run at (5,90) width 445: "floating box should not be higher than the top of the right-floating box." RenderBlock {HR} at (357,1547) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,1557) size 743x78 [border: (5px solid #800080)] RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)] RenderImage {IMG} at (723,5) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (20,5) size 717x68 text run at (20,5) width 177: "This is text within the DIV. " text run at (197,5) width 525: "The floating images within this DIV should not go beyond the top side of this DIV," text run at (20,22) width 678: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in" text run at (20,39) width 62: "any way. " text run at (82,39) width 615: "In addition, the top of the left-floating image should not be higher than the top of the right-floating" text run at (5,56) width 42: "image." RenderBlock {HR} at (28,1659) size 563x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,1685) size 743x129 [border: (5px solid #800080)] RenderText {#text} at (199,5) size 185x17 text run at (199,5) width 177: "This is text within the DIV. " text run at (376,5) width 8: "*" RenderBlock (floating) {P} at (5,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 112: "paragraph (first in" text run at (17,51) width 50: "source)." RenderText {#text} at (384,5) size 518x34 text run at (384,5) width 333: " The floating elements within this DIV should not go" text run at (199,22) width 504: "any higher than the line-box containing the inline content which precedes them. " text run at (703,22) width 8: "*" RenderBlock (floating) {P} at (544,39) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 139x51 text run at (17,17) width 139: "This is a right-floating" text run at (17,34) width 132: "paragraph (second in" text run at (17,51) width 50: "source)." RenderText {#text} at (199,39) size 539x85 text run at (199,39) width 321: "This means that the top side of each float can be, at" text run at (199,56) width 313: "most, as high as the top edge of the inline element" text run at (199,73) width 343: "containing the content just before the floating elements" text run at (5,90) width 127: "occur in the source. " text run at (132,90) width 412: "In order to mark these points clearly, an asterisk has been inserted" text run at (5,107) width 203: "just before each floated element." RenderBlock {HR} at (357,1822) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,1832) size 743x78 [border: (5px solid #800080)] RenderText {#text} at (20,5) size 185x17 text run at (20,5) width 177: "This is text within the DIV. " text run at (197,5) width 8: "*" RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (205,5) size 688x34 text run at (205,5) width 503: " The floating images within this DIV should not go any higher than the line-box" text run at (20,22) width 323: "containing the inline content which precedes them. " text run at (343,22) width 12: "* " RenderImage {IMG} at (723,22) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (355,22) size 709x51 text run at (355,22) width 359: "This means that the top side of each float can be, at most," text run at (20,39) width 689: "as high as the top edge of the inline element containing the content just before the floating images occur in the" text run at (5,56) width 49: "source. " text run at (54,56) width 608: "In order to mark these points clearly, an asterisk has been inserted just before each floated image." RenderBlock {HR} at (28,1934) size 563x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,1960) size 743x214 [border: (5px solid #800080)] RenderText {#text} at (199,5) size 185x17 text run at (199,5) width 177: "This is text within the DIV. " text run at (376,5) width 8: "*" RenderBlock (floating) {P} at (5,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 112: "paragraph (first in" text run at (17,51) width 50: "source)." RenderText {#text} at (384,5) size 518x34 text run at (384,5) width 333: " The floating elements within this DIV should not go" text run at (199,22) width 504: "any higher than the line-box containing the inline content which precedes them. " text run at (703,22) width 8: "*" RenderBlock (floating) {P} at (544,39) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 139x51 text run at (17,17) width 139: "This is a right-floating" text run at (17,34) width 132: "paragraph (second in" text run at (17,51) width 50: "source)." RenderText {#text} at (199,39) size 314x17 text run at (199,39) width 314: "This means that the top side of each float can be,*" RenderBlock (floating) {P} at (199,56) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 117: "paragraph (third in" text run at (17,51) width 50: "source)." RenderText {#text} at (513,39) size 246x102 text run at (513,39) width 15: " at" text run at (393,56) width 147: "most, as high as the top" text run at (393,73) width 109: "edge of the inline" text run at (393,90) width 142: "element containing the" text run at (393,107) width 139: "content just before the" text run at (393,124) width 238: "floating elements occur in the source. " text run at (631,124) width 8: "*" RenderBlock (floating) {P} at (5,141) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 126: "paragraph (fourth in" text run at (17,51) width 50: "source)." RenderText {#text} at (639,124) size 539x85 text run at (639,124) width 70: " In order to" text run at (199,141) width 492: "mark these points clearly, an asterisk has been inserted just before each floated" text run at (199,158) width 57: "element. " text run at (256,158) width 477: "If a line has room for a floated element, then the element should float so that" text run at (199,175) width 470: "its top is aligned with the top of the line-box in which the asterisk appears. " text run at (669,175) width 69: "Otherwise," text run at (199,192) width 329: "its top should align with the top of the next line-box." RenderBlock {HR} at (357,2186) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,2196) size 743x112 [border: (5px solid #800080)] RenderText {#text} at (20,5) size 185x17 text run at (20,5) width 177: "This is text within the DIV. " text run at (197,5) width 8: "*" RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (205,5) size 673x34 text run at (205,5) width 503: " The floating images within this DIV should not go any higher than the line-box" text run at (35,22) width 323: "containing the inline content which precedes them. " text run at (358,22) width 12: "* " RenderImage {IMG} at (723,22) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (370,22) size 318x17 text run at (370,22) width 310: "This means that the top side of each float can be, " text run at (680,22) width 8: "*" RenderImage {IMG} at (20,22) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (688,22) size 688x51 text run at (688,22) width 15: " at" text run at (35,39) width 688: "most, as high as the top edge of the inline element containing the content just before the floating images occur" text run at (50,56) width 88: "in the source. " text run at (138,56) width 8: "*" RenderImage {IMG} at (35,56) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (146,56) size 687x51 text run at (146,56) width 566: " In order to mark these points clearly, an asterisk has been inserted just before each floated" text run at (50,73) width 46: "image. " text run at (96,73) width 640: "If a line has room for a floated image, then the image should float so that its top is aligned with the top" text run at (50,90) width 285: "of the line-box in which the asterisk appears. " text run at (335,90) width 402: "Otherwise, its top should align with the top of the next line-box." RenderBlock {HR} at (28,2332) size 563x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,2358) size 490x282 [border: (5px solid #800080)] RenderText {#text} at (199,5) size 54x17 text run at (199,5) width 54: "This is *" RenderBlock (floating) {P} at (5,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 130x51 text run at (17,17) width 130: "This is a left-floating" text run at (17,34) width 112: "paragraph (first in" text run at (17,51) width 50: "source)." RenderText {#text} at (253,5) size 12x17 text run at (253,5) width 12: " *" RenderBlock (floating) {P} at (291,5) size 194x85 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)] RenderText {#text} at (17,17) size 139x51 text run at (17,17) width 139: "This is a right-floating" text run at (17,34) width 132: "paragraph (second in" text run at (17,51) width 50: "source)." RenderText {#text} at (199,22) size 477x255 text run at (199,22) width 90: "text within the" text run at (199,39) width 37: "DIV. " text run at (236,39) width 40: "Under" text run at (199,56) width 88: "CSS1, the left" text run at (199,73) width 48: "floating" text run at (5,90) width 477: "element should be placed in the upper left corner of the DIV, and the purple" text run at (5,107) width 447: "border of the DIV should abut the green border of the floating element." text run at (5,124) width 444: "Similarly, the right floating element should be placed in the upper right" text run at (5,141) width 468: "corner of the DIV, and the purple border of the DIV should abut the green" text run at (5,158) width 451: "border of the floating element. The text of the DIV element should flow" text run at (5,175) width 461: "between and under the two floating elements. The two asterisk characters" text run at (5,192) width 468: "mark the insertion points of the floating elements. It is expected that, under" text run at (5,209) width 470: "future specifications, it may be acceptable for the top of floated elements to" text run at (5,226) width 475: "align with the top of the line-box following the insertion point of the floated" text run at (5,243) width 466: "element to avoid floating elements appearing before text which precedes it" text run at (5,260) width 150: "in the source document." RenderBlock {HR} at (357,2648) size 41x2 [border: (1px inset #000000)] RenderBlock {DIV} at (6,2658) size 490x214 [border: (5px solid #800080)] RenderText {#text} at (20,5) size 54x17 text run at (20,5) width 54: "This is *" RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (74,5) size 12x17 text run at (74,5) width 12: " *" RenderImage {IMG} at (470,5) size 15x36 [border: (3px solid #000000)] RenderText {#text} at (86,5) size 480x204 text run at (86,5) width 135: " text within the DIV. " text run at (221,5) width 226: "Under CSS1, the left floating image" text run at (20,22) width 424: "should be placed in the upper left corner of the DIV, and the purple" text run at (20,39) width 436: "border of the DIV should abut the green border of the floating image." text run at (5,56) width 477: "Similarly, the right floating image should be placed in the upper right corner" text run at (5,73) width 469: "of the DIV, and the purple border of the DIV should abut the green border" text run at (5,90) width 479: "of the floating image. The text of the DIV element should flow between and" text run at (5,107) width 477: "under the two floating image. The two asterisk characters mark the insertion" text run at (5,124) width 180: "points of the floating image. " text run at (185,124) width 300: "It is expected that, under future specifications, it" text run at (5,141) width 478: "may be acceptable for the top of floated elements to align with the top of the" text run at (5,158) width 429: "line-box following the insertion point of the floated element to avoid" text run at (5,175) width 442: "floating elements appearing before text which precedes it in the source" text run at (5,192) width 66: "document." RenderBlock {HR} at (28,2896) size 563x2 [border: (1px inset #000000)]