containment-expected.txt   [plain text]


layer at (0,0) size 800x930
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x930
  RenderBlock {HTML} at (0,0) size 800x930
    RenderBody {BODY} at (8,8) size 784x914 [bgcolor=#CCCCCC]
      RenderBlock {P} at (0,0) size 784x17 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 385x17
          text run at (0,0) width 385: "The style declarations which apply to the text below are:"
      RenderBlock {PRE} at (0,31) size 784x160 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 728x160
          text run at (0,0) width 624: "<LINK rel=\"stylesheet\" type=\"text/css\" href=\"linktest.css\" title=\"Default SS\">"
          text run at (0,16) width 728: "<LINK rel=\"alternate stylesheet\" type=\"text/css\" href=\"linktest2.css\" title=\"Alternate SS\">"
          text run at (0,32) width 208: "@import url(imptest1.css);"
          text run at (0,48) width 192: "@import \"imptest1a.css\";"
          text run at (0,64) width 128: "UL {color: red;}"
          text run at (0,80) width 176: ".four {color: purple;}"
          text run at (0,96) width 208: "@import url(imptest2.css);"
          text run at (0,112) width 32: "<!--"
          text run at (0,128) width 168: "P.six {color: green;}"
          text run at (0,144) width 24: "-->"
      RenderBlock {HR} at (1,205) size 782x2 [bgcolor=#000000]
      RenderBlock {P} at (0,221) size 784x34 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 444x17
          text run at (0,0) width 444: "This sentence should be underlined due to the linked style sheet "
        RenderInline {CODE} at (0,0) size 96x16
          RenderText {TEXT} at (444,1) size 96x16
            text run at (444,1) width 96: "linktest.css"
        RenderText {TEXT} at (540,0) size 765x34
          text run at (540,0) width 225: ", the reference to which is shown"
          text run at (0,17) width 46: "above."
      RenderBlock {P} at (0,269) size 784x34 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 479x17
          text run at (0,0) width 479: "This sentence should NOT be underlined due to the linked style sheet "
        RenderInline {CODE} at (0,0) size 104x16
          RenderText {TEXT} at (479,1) size 104x16
            text run at (479,1) width 104: "linktest2.css"
        RenderText {TEXT} at (583,0) size 9x17
          text run at (583,0) width 9: ", "
        RenderInline {STRONG} at (0,0) size 47x17
          RenderText {TEXT} at (592,0) size 47x17
            text run at (592,0) width 47: "unless"
        RenderText {TEXT} at (639,0) size 761x34
          text run at (639,0) width 122: " the external style"
          text run at (0,17) width 392: "sheet \"Alternate SS\" has been selected via the user agent."
      RenderBlock {UL} at (0,317) size 784x51 [color=#FF0000] [bgcolor=#000000]
        RenderListItem {LI} at (40,0) size 744x17 [color=#008000]
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 430x17
            text run at (0,0) width 430: "This sentence should be green due to an imported style sheet ["
          RenderInline {CODE} at (0,0) size 208x16
            RenderText {TEXT} at (430,1) size 208x16
              text run at (430,1) width 208: "@import url(imptest1.css);"
          RenderText {TEXT} at (638,0) size 10x17
            text run at (638,0) width 10: "]."
        RenderListItem {LI} at (40,17) size 744x17 [color=#800080]
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 435x17
            text run at (0,0) width 435: "This sentence should be purple due to an imported style sheet ["
          RenderInline {CODE} at (0,0) size 184x16
            RenderText {TEXT} at (435,1) size 184x16
              text run at (435,1) width 184: "@import \"imptest1a.css\""
          RenderText {TEXT} at (619,0) size 10x17
            text run at (619,0) width 10: "]."
        RenderListItem {LI} at (40,34) size 744x17 [color=#008000]
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 419x17
            text run at (0,0) width 419: "This sentence should be green thanks to the STYLE attribute ["
          RenderInline {CODE} at (0,0) size 168x16
            RenderText {TEXT} at (419,1) size 168x16
              text run at (419,1) width 168: "STYLE=\"color: green;\""
          RenderText {TEXT} at (587,0) size 10x17
            text run at (587,0) width 10: "]."
      RenderBlock {P} at (0,382) size 784x17 [color=#800080] [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 553x17
          text run at (0,0) width 553: "This sentence should be purple, and it doesn't have a terminating paragraph tag."
      RenderBlock {OL} at (0,413) size 784x51 [bgcolor=#000000]
        RenderListItem {LI} at (40,0) size 744x17
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 213x17
            text run at (0,0) width 213: "This list should NOT be purple."
        RenderListItem {LI} at (40,17) size 744x17
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 190x17
            text run at (0,0) width 190: "It should, instead, be black."
        RenderListItem {LI} at (40,34) size 744x17
          RenderListMarker at (0,0) size 0x14
          RenderText {TEXT} at (0,0) size 549x17
            text run at (0,0) width 549: "If it IS purple, then the browser hasn't correctly parsed the preceding paragraph."
      RenderBlock {P} at (0,478) size 784x34 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 767x17
          text run at (0,0) width 214: "This sentence should be black. "
          text run at (214,0) width 553: "If it is red, then the browser has inappropriately imported the styles from the file"
        RenderInline {TT} at (0,0) size 96x16
          RenderText {TEXT} at (0,18) size 96x16
            text run at (0,18) width 96: "imptest2.css"
        RenderText {TEXT} at (96,17) size 36x17
          text run at (96,17) width 36: " (see "
        RenderInline {A} at (0,0) size 76x17 [color=#0000FF]
          RenderText {TEXT} at (132,17) size 76x17
            text run at (132,17) width 76: "section 3.0"
        RenderText {TEXT} at (208,17) size 295x17
          text run at (208,17) width 295: " of the CSS1 specification for more details)."
      RenderBlock {P} at (0,526) size 784x17 [bgcolor=#000000]
        RenderText {TEXT} at (0,0) size 222x17
          text run at (0,0) width 222: "This paragraph should be green."
      RenderTable {TABLE} at (0,557) size 784x357 [bgcolor=#000000]
        RenderTableSection {TBODY} at (1,1) size 0x355
          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,177) 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 770x330 [r=1 c=1 rs=1 cs=1]
              RenderBlock {P} at (4,4) size 762x34
                RenderText {TEXT} at (0,0) size 444x17
                  text run at (0,0) width 444: "This sentence should be underlined due to the linked style sheet "
                RenderInline {CODE} at (0,0) size 96x16
                  RenderText {TEXT} at (444,1) size 96x16
                    text run at (444,1) width 96: "linktest.css"
                RenderText {TEXT} at (540,0) size 717x34
                  text run at (540,0) width 177: ", the reference to which is"
                  text run at (0,17) width 94: "shown above."
              RenderBlock {P} at (4,52) size 762x34
                RenderText {TEXT} at (0,0) size 479x17
                  text run at (0,0) width 479: "This sentence should NOT be underlined due to the linked style sheet "
                RenderInline {CODE} at (0,0) size 104x16
                  RenderText {TEXT} at (479,1) size 104x16
                    text run at (479,1) width 104: "linktest2.css"
                RenderText {TEXT} at (583,0) size 9x17
                  text run at (583,0) width 9: ", "
                RenderInline {STRONG} at (0,0) size 47x17
                  RenderText {TEXT} at (592,0) size 47x17
                    text run at (592,0) width 47: "unless"
                RenderText {TEXT} at (639,0) size 761x34
                  text run at (639,0) width 122: " the external style"
                  text run at (0,17) width 392: "sheet \"Alternate SS\" has been selected via the user agent."
              RenderBlock {UL} at (4,100) size 762x51 [color=#FF0000]
                RenderListItem {LI} at (40,0) size 722x17 [color=#008000]
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 430x17
                    text run at (0,0) width 430: "This sentence should be green due to an imported style sheet ["
                  RenderInline {CODE} at (0,0) size 208x16
                    RenderText {TEXT} at (430,1) size 208x16
                      text run at (430,1) width 208: "@import url(imptest1.css);"
                  RenderText {TEXT} at (638,0) size 10x17
                    text run at (638,0) width 10: "]."
                RenderListItem {LI} at (40,17) size 722x17 [color=#800080]
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 435x17
                    text run at (0,0) width 435: "This sentence should be purple due to an imported style sheet ["
                  RenderInline {CODE} at (0,0) size 184x16
                    RenderText {TEXT} at (435,1) size 184x16
                      text run at (435,1) width 184: "@import \"imptest1a.css\""
                  RenderText {TEXT} at (619,0) size 10x17
                    text run at (619,0) width 10: "]."
                RenderListItem {LI} at (40,34) size 722x17 [color=#008000]
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 419x17
                    text run at (0,0) width 419: "This sentence should be green thanks to the STYLE attribute ["
                  RenderInline {CODE} at (0,0) size 168x16
                    RenderText {TEXT} at (419,1) size 168x16
                      text run at (419,1) width 168: "STYLE=\"color: green;\""
                  RenderText {TEXT} at (587,0) size 10x17
                    text run at (587,0) width 10: "]."
              RenderBlock {P} at (4,165) size 762x17 [color=#800080]
                RenderText {TEXT} at (0,0) size 553x17
                  text run at (0,0) width 553: "This sentence should be purple, and it doesn't have a terminating paragraph tag."
              RenderBlock {OL} at (4,196) size 762x51
                RenderListItem {LI} at (40,0) size 722x17
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 213x17
                    text run at (0,0) width 213: "This list should NOT be purple."
                RenderListItem {LI} at (40,17) size 722x17
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 190x17
                    text run at (0,0) width 190: "It should, instead, be black."
                RenderListItem {LI} at (40,34) size 722x17
                  RenderListMarker at (0,0) size 0x14
                  RenderText {TEXT} at (0,0) size 549x17
                    text run at (0,0) width 549: "If it IS purple, then the browser hasn't correctly parsed the preceding paragraph."
              RenderBlock {P} at (4,261) size 762x34
                RenderText {TEXT} at (0,0) size 741x34
                  text run at (0,0) width 214: "This sentence should be black. "
                  text run at (214,0) width 527: "If it is red, then the browser has inappropriately imported the styles from the"
                  text run at (0,17) width 26: "file "
                RenderInline {TT} at (0,0) size 96x16
                  RenderText {TEXT} at (26,18) size 96x16
                    text run at (26,18) width 96: "imptest2.css"
                RenderText {TEXT} at (122,17) size 36x17
                  text run at (122,17) width 36: " (see "
                RenderInline {A} at (0,0) size 76x17 [color=#0000FF]
                  RenderText {TEXT} at (158,17) size 76x17
                    text run at (158,17) width 76: "section 3.0"
                RenderText {TEXT} at (234,17) size 295x17
                  text run at (234,17) width 295: " of the CSS1 specification for more details)."
              RenderBlock {P} at (4,309) size 762x17
                RenderText {TEXT} at (0,0) size 222x17
                  text run at (0,0) width 222: "This paragraph should be green."