<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&#64;apple.com" title="Said Abou-Hallawa &lt;sabouhallawa&#64;apple.com&gt;"> <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">&gt; Hi I am trying to get img to work without having to set src. I am trying to
&gt; use css background-image property to set the image but when I doint set the
&gt; src, it creates a grey border. But on Internet Explorer this works (uses
&gt; different web engine).</span >

You should not use the &lt;img&gt; element in this case. You can apply the css background-image property to any other element like &lt;span&gt; or &lt;div&gt; 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>