[Webkit-unassigned] [Bug 203788] Don't show the broken image icon for missing CSS images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 18 21:40:31 PDT 2021


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

--- Comment #7 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
This is one way:
            background-image: -webkit-cross-fade(url('http://www.example.com/broken.png'), url('http://www.example.com/broken.png'), 50%);

I think it's bad that CachedImage::image() and CachedImage::imageForRenderer() can return the broken image icon. That causes hilarity like consulting this image for it's opaqueness, or EXIF orientation, even if it's never used in this context (e.g. CSS backgrounds).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211019/61717d69/attachment.htm>


More information about the webkit-unassigned mailing list