loge.hixie.ch

Hixie's Natural Log

2006-09-23 00:03 UTC Tag Soup: innerHTML interoperability (or lack thereof)

I wrote a "simple" test.

I then tested five browsers: IE7b3, Firefox (20060921 trunk), Safari (2.0.4 and Webkit Fri Sep 22 14:05:47 GMT 2006), and Opera 9.

I got five different results.

IE
  • #comment: CTYPE ht
  • HTML
    • HEAD
      • TITLE
      • SCRIPT
    • BODY
Firefox
  • DOCTYPE: html
  • HTML
    • TITLE
      • #text: A
    • #text: B
    • BODY
      • #text: 0
Safari (latest released version)
  • HTML
    • TITLE
      • #text: A
    • #text: B
    • HEAD
      • TITLE
        • #text: TEST
    • BODY
      • #text: 0
Safari (Webkit nightly build)
  • HTML
    • #text: B
    • HEAD
      • TITLE
        • #text: TEST
    • BODY
      • #text: 0
Opera
  • HTML
    • HEAD
      • TITLE
        • #text: A
    • #text: B
    • BODY
      • #text: 0
      • #text:
      • TITLE
        • #text: TEST

Meep.

Pingbacks: 1 2