Bug 144960
Summary: | Should pseudo content be allowed in void tags? | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jonathan Zuckerman <j.zuckerman> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | REOPENED | ||
Severity: | Normal | CC: | ap, bfulgham, cdumez, hyatt, kling, sam, simon.fraser, zalan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Jonathan Zuckerman
Last I heard the answer was no, which makes sense because void tags have no content, therefore there's no place for generated content to be before or after..
As far as I can tell it does not work in any browser besides Webkit. I tried reading through the specs but it's very much unclear (to me at least) about what ought to happen in this case. I'd be surprised if this hadn't been discussed elsewhere but searching through Bugzilla didn't yield any helpful results, so any assistance finding old discussions would be very much appreciated.
See here for test case: http://jsfiddle.net/jrz/Lqkk3mtd/
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Not sure why this was WONTFIX'ed. The behavior is different between Firefox on one hand, and Safari/Chrome on another.