Bug 13186

Summary: :before and :after on replaced elements awaiting definition
Product: WebKit Reporter: Nicholas Shanks <nickshanks>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bfulgham, webkit
Priority: P4    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   

Nicholas Shanks
Reported 2007-03-24 17:43:13 PDT
Nothing is rendered when the following CSS is applied: img:before, img:after { content: " foo! "; } I would expect to get " foo! [image] foo! ".
Attachments
Dave Hyatt
Comment 1 2007-03-24 17:50:21 PDT
It's not defined yet. See the note in section 12.1 in CSS2.1. "Note. 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." Can't implement the behavior until we know what should happen.
Robert Blaut
Comment 2 2008-02-20 03:32:18 PST
P5 is not used for WebKit bugs. [http://webkit.org/quality/bugpriorities.html]
Brent Fulgham
Comment 3 2022-07-07 12:34:19 PDT
The WG discussed this at length, and decided that this should not be supported. Closing as WONTFIX. https://github.com/w3c/csswg-drafts/issues/625
Note You need to log in before you can comment on or make changes to this bug.