Closed Bug 365235 Opened 19 years ago Closed 19 years ago

:before and :after generated content not displayed for images

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 245633

People

(Reporter: robertpaul, Assigned: jdunn)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 When applied to images, content defined in :before or :after is not rendered. Example at http://www.tempusband.com/moz/ I've set the hardware/OS as All/All as it would only make sense, but I have no way of verifying otherwise. Reproducible: Always Steps to Reproduce: 1. 2. 3.
This is a duplicate of bug 245633. CSS 2.1 WD is unclear about this: "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/2006/WD-CSS21-20061106/generate.html#before-after-content). CSS3 isn't ready to implement.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.