Bug 13186
| Summary: | :before and :after on replaced elements awaiting definition | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Nicholas Shanks <nickshanks> |
| Component: | DOM | Assignee: | 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
Nothing is rendered when the following CSS is applied:
img:before, img:after { content: " foo! "; }
I would expect to get " foo! [image] foo! ".
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Dave Hyatt
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
P5 is not used for WebKit bugs. [http://webkit.org/quality/bugpriorities.html]
Brent Fulgham
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