<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Webkit supports generated content on any element"
href="https://bugs.webkit.org/show_bug.cgi?id=155820">155820</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Webkit supports generated content on any element
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Safari 9
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>CSS
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gwhit@microsoft.com
</td>
</tr></table>
<p>
<div>
<pre>What steps will reproduce the problem?
(1) Open <a href="https://jsfiddle.net/btw9uqn6/">https://jsfiddle.net/btw9uqn6/</a>
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 (<a href="https://www.w3.org/TR/CSS2/generate.html#content">https://www.w3.org/TR/CSS2/generate.html#content</a>) 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 (<a href="https://drafts.csswg.org/css-content-3/#inserting-replacing-content">https://drafts.csswg.org/css-content-3/#inserting-replacing-content</a>).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>