<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - If src is empty in img tag it shows a gray border around the image"
href="https://bugs.webkit.org/show_bug.cgi?id=146383#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - If src is empty in img tag it shows a gray border around the image"
href="https://bugs.webkit.org/show_bug.cgi?id=146383">bug 146383</a>
from <span class="vcard"><a class="email" href="mailto:sabouhallawa@apple.com" title="Said Abou-Hallawa <sabouhallawa@apple.com>"> <span class="fn">Said Abou-Hallawa</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=146383#c7">comment #7</a>)
<span class="quote">> Hi I am trying to get img to work without having to set src. I am trying to
> use css background-image property to set the image but when I doint set the
> src, it creates a grey border. But on Internet Explorer this works (uses
> different web engine).</span >
You should not use the <img> element in this case. You can apply the css background-image property to any other element like <span> or <div> for example. The background image is rendered by the same routine for all elements.</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>