LeaVerou / css3test

How does your browser score for its CSS3 support?
http://css3test.com
MIT License
214 stars 83 forks source link

add test on img:after #43

Closed yukulele closed 11 years ago

yukulele commented 11 years ago

CSS pseudo-elements don't seam to works on <img> elements on some browser

test: http://dabblet.com/gist/5714359

LeaVerou commented 11 years ago

That’s according to the spec: Generated content does not work on replaced elements. Basically, ::before and ::after are inserted as pseudo-children, and <img> nodes cannot have children.