[Webkit-unassigned] [Bug 231078] New: Invalid CSS <image> should be transparent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 1 07:13:15 PDT 2021


            Bug ID: 231078
           Summary: Invalid CSS <image> should be transparent
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gsnedders at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com
            Blocks: 229909

Per https://drafts.csswg.org/css-images-4/#invalid-image:

> In some cases an image is invalid, such as a <url> pointing to a resource that is not a valid image format or that has failed to load. An invalid image is rendered as a solid-color transparent image with no natural dimensions. However, invalid images can trigger error-handling clauses in some contexts. For example, an invalid image in list-style-image it is treated as none, allowing the list-style-type to render in its place. [CSS2]

This is the reason why bug 206909 occurred (we end up rendering the broken image icon over the star), rather than the -webkit-image-set() parsing change itself (which is what that bug reverted).

Referenced Bugs:

[Bug 229909] -webkit-image-set() should be an alias of image-set()
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/20211001/7a837e3f/attachment-0001.htm>

More information about the webkit-unassigned mailing list