Re:JavaScript must die
by daleharvey on Friday September 25, 2009 @07:20AM
(#843250)
internet explorer allow javascript expressions in plain css, it used to be a handy trick to make zebra striped tables, although thats a bad use, its also part of what was behind the png hacks
[ Parent
| on HN ]
I was aware of expression() when used in css on IE, but didn't know anything would execute url('javascript:
IE7 executes expression() when used in css (inline/style/external css file), but not when you set css from js. Also cannot make it execute url('javascript:
(Safari/Firefox/Opera/Chrome execute none of the above).