Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Oh, didn't notice that. The specification actually does not explicitly prohibit pseudo content on replaced elements.

    This specification does not fully define the interaction of :before and :after with replaced elements (such as IMG in HTML). This will be defined in more detail in a future specification.
http://www.w3.org/TR/2011/REC-CSS2-20110607/generate.html#be...

In my opinion it would be cool if all browsers supported it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: