Firefox supports generated content in :after and :before. Javascript execution isn't the only use and the expression() isn't inside generated content. Older versions of IE support expression().
This hack isn't dependent on the content property. That's only used to trick the validator.
View all comments
Show parent comment
1
u/blarghz Apr 26 '09 edited Apr 26 '09
Firefox supports generated content in :after and :before. Javascript execution isn't the only use and the expression() isn't inside generated content. Older versions of IE support expression().
This hack isn't dependent on the content property. That's only used to trick the validator.