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.
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.
Painfully Obvious was built with WordPress, Prototype, Slicehost, and other accoutrements. Colophon →
at 7:21 am (Quote ↓)
One simple test That is not a simple test.
at 6:56 am (Quote ↓)
It is simple in the sense that it’s the shortest complete HTML document he could possibly inject.
at 11:04 pm (Quote ↓)
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.