007a-expected.txt   [plain text]


layer at (0,0) size 800x600
  RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x76
  RenderBlock {HTML} at (0,0) size 800x76
    RenderBody {BODY} at (8,16) size 784x52
      RenderBlock {P} at (0,0) size 784x18 [bgcolor=#00FF00]
        RenderText {TEXT} at (0,0) size 484x18
          text run at (0,0) width 406: "This paragraph should have green background because CLASS "
          text run at (406,0) width 78: "contains \"b\""
      RenderBlock {ADDRESS} at (0,34) size 784x18 [bgcolor=#00FF00]
        RenderInline {SPAN} at (0,0) size 156x18
          RenderText {TEXT} at (0,0) size 156x18
            text run at (0,0) width 156: "This address should also"
        RenderText {TEXT} at (156,0) size 4x18
          text run at (156,0) width 4: " "
        RenderInline {SPAN} at (0,0) size 600x18
          RenderText {TEXT} at (160,0) size 600x18
            text run at (160,0) width 350: "have green background because the selector in the last "
            text run at (510,0) width 250: "rule does not apply to the inner SPANs."
        RenderText {TEXT} at (0,0) size 0x0