[Webkit-unassigned] [Bug 146383] If src is empty in img tag it shows a gray border around the image

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 16 18:03:40 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=146383

--- Comment #10 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
(In reply to comment #7)
> 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).

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161117/3f0bc20e/attachment.html>


More information about the webkit-unassigned mailing list