Bug 13186 - :before and :after on replaced elements awaiting definition
Summary: :before and :after on replaced elements awaiting definition
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 523.x (Safari 3)
Hardware: Macintosh OS X 10.4
: P4 Normal
Assignee: Nobody
Depends on:
Reported: 2007-03-24 17:43 PDT by Nicholas Shanks
Modified: 2009-01-01 04:13 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Shanks 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! ".
Comment 1 Dave Hyatt 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.
Comment 2 Robert Blaut 2008-02-20 03:32:18 PST
P5 is not used for WebKit bugs. [http://webkit.org/quality/bugpriorities.html]