DEV Community

Cover image for Internet Explorer 3, an adventure in cross-browser compatibility

Internet Explorer 3, an adventure in cross-browser compatibility

Chen Hui Jing on July 03, 2019

Some of you might know that I run the CSS meetup, Talk.CSS in Singapore together with my best mate, Wei. If you didn’t, you do now. Perhaps you hav...
Collapse
 
alohci profile image
Nicholas Stimpson

Great article. One small correction. document.createElement(elementName) isn't really to do with the CSS engine. What confuses this is when Sjoerd Visscher, when he posted his comment on Sam Ruby's blog, making the trick known to the world, was under the impression that it affected the CSS engine. But he was mistaken. In fact, it changes the HTML parser to recognise the element and add it into the browser's internal object model. (I hesitate to say "DOM" here. Early IE's internal object model to DOM API mapping was uncomfortable to say the least.) The fact that the CSS worked on the elements was a consequence of the parsing change. The significant difference being that JS is also able to manipulate the elements created.

Collapse
 
huijing profile image
Chen Hui Jing

Thanks for the clarification πŸ™. I'll update the post accordingly

Collapse
 
listnux profile image
ListNUX

Wow, this is absolutely fantastic! Thanks for sharing this super-fun experiment (love the retro result too)!