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.
Comments
One simple test
That is not a simple test.
It is simple in the sense that it’s the shortest complete HTML document he could possibly inject.
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.