[Webkit-unassigned] [Bug 257193] New: Support for type() function in image-set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 23 03:00:54 PDT 2023


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

            Bug ID: 257193
           Summary: Support for type() function in image-set
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: oliverwilliams345 at gmail.com

CanIUse claims that Safari Technology Preview fully supports image-set(). This is inaccurate as Safari still does not support specifying a type:

body {
    background-image: image-set(
        "house.webp" type("image/webp"),
        "house.png" type("image/png")
    );
}

Safari will use the png even though it supports webp.

-- 
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/20230523/2ef79324/attachment.htm>


More information about the webkit-unassigned mailing list