Closed Bug 436283 Opened 16 years ago Closed 16 years ago

CSS pseudo element :after and :before does not work on img-tags

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 245633

People

(Reporter: agwacc, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5

The CSS pseudo element :after and :before does not work on img-tags in Firefox.
I searched for it on Google and it seems this bug is already known, but I saw no bug-report on it.
It seems that allowing for img:after / :before is correct W3C standard.

Reproducible: Always

Steps to Reproduce:
1. Use the CSS code (in Stylish or otherwise):
img:after{content:"test";}
Actual Results:  
Nothing

Expected Results:  
Text behind images.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.