[Webkit-unassigned] [Bug 159484] New: Multiple Picture Sources Downloading e.g. webp and jpeg

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 6 12:19:56 PDT 2016


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

            Bug ID: 159484
           Summary: Multiple Picture Sources Downloading e.g. webp and
                    jpeg
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: Macintosh
                OS: OS X 10.11
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lee+bugzilla at leemoody.co.uk

Created attachment 282923
  --> https://bugs.webkit.org/attachment.cgi?id=282923&action=review
Example html file and screenshot, as on gist.github.com.

I think I've found an odd bug in Safari related to the picture element and downloading multiple sources, which I've been advised may be a Webkit thing. See example html: https://gist.github.com/notlee/73ebe50c3af907f3cde875afd9cd61c1

Actual:
For the picture element seen in the example above, both the webp source and jpeg img fallback downloads unless (oddly) you delete the script tag, remove the new line between the opening and closing of the script tag, or delete the link tag href contents. ¯\_(ツ)_/¯ 

Expected:
The expected behaviour being to only download one picture source or the img element fallback. In this case ignore the webp picture source, given Safari doesn't support it, and therefore only download the jpeg img.

Observed on:
OSX 10.11.5
Safari Version 9.1.1 (11601.6.17)
Safari Preview Version 9.1.2 (11601.7.4, 11602.1.37)

-- 
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/20160706/e4fb253f/attachment.html>


More information about the webkit-unassigned mailing list