3 ms·
How did you even figure that out? That sounds like it would take having IE's source code to figure out.
by sephoric 8y ago
How did you even figure that out? That sounds like it would take having IE's source code to figure out.
- Zalastax 8y agoIt looks like fairly standard JS to me. I don't know where to read about it but there are some details on the deprecation blog article: https://blogs.msdn.microsoft.com/ie/2008/10/16/ending-expressions/ https://blogs.msdn.microsoft.com/ie/2008/10/16/ending-expres...
- richardwhiuk 8y agoThat's CSS, with embedded JS, which is relatively non standard.
- cstejerean 8y agoIt’s very non-standard, it was IE only until they dropped it in IE8, but it was one of the features being abused to make up for other css features that IE6 or 7 lacked.
- Zalastax 8y agoSure, but my point still stands: figuring this out doesn't require arcane knowledge, contrary to what was suggested. The code inside the expression looks like standard JS. The downvotes and your reply suggests I should have communicated more clearly.
- mmastrac 8y agoFor those of us who cut our teeth on IE6, this was pretty much par for the course. Check out Dean Edwards IE7 JS script - this was key to making IE6 behave like a modern browser: https://code.google.com/archive/p/ie7-js/ https://code.google.com/archive/p/ie7-js/ Edit: better way to view: https://github.com/Integralist/Dean-Edwards--IE-7-and-8-and-9/blob/master/IE7.js https://github.com/Integralist/Dean-Edwards--IE-7-and-8-and-...
- arayh 8y agoAh yes, the good ol' PNG transparency hack is included in there. The bitter-sweet memories of web development in the 90s. Too bad the only working hack for fixing PNG gamma was to remove the gamma chunk from the image file itself.