WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
155820
Webkit supports generated content on any element
https://bugs.webkit.org/show_bug.cgi?id=155820
Summary
Webkit supports generated content on any element
Greg Whitworth
Reported
2016-03-23 17:34:19 PDT
What steps will reproduce the problem? (1) Open
https://jsfiddle.net/btw9uqn6/
What is the expected output? No image is seen What do you see instead? An image is inserted into the DOM element Additional information: ----------------------- Gecko: No Repro Edge: No Repro Webkit: Repro Blink: Repro What the specs say ----------------------- The CSS 2.1 specification states (
https://www.w3.org/TR/CSS2/generate.html#content
) that it applies to :before and :after psuedo elements. While the css-content-3 allow for it to be on all elements but this specification is not ready for implementation per the red error note (
https://drafts.csswg.org/css-content-3/#inserting-replacing-content
).
Attachments
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2016-03-23 21:07:07 PDT
Thanks Greg.
Brent Fulgham
Comment 2
2022-07-14 15:35:28 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug