Sep22

Hixie’s trying to standardize innerHTML. One simple test gives five different results in 4½ different browsers. I don’t understand how he stays sane.

Comments

  1. One simple test That is not a simple test.

  2. It is simple in the sense that it’s the shortest complete HTML document he could possibly inject.

  3. What happens if you add … to the innerHTML string?

    …innerHTML = ‘AB’

    (Ignore spaces…)

    Also, I think this is worth a Mozilla bug as Firefox’s results are not nominal. The “InnerHTML” view in Mozilla’s (Well, I’m using SeaMonkey, but still…) is not the same code as you’re sending.

Painfully Obvious was built with WordPress, Prototype, Slicehost, and other accoutrements. Colophon →