[Webkit-unassigned] [Bug 225044] New: HTMLImageElement should have an associated picture element only if inserted as a direct child

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 25 21:09:59 PDT 2021


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

            Bug ID: 225044
           Summary: HTMLImageElement should have an associated picture
                    element only if inserted as a direct child
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com

HTMLImageElement::insertedIntoAncestor doesn't check that we're appending the <img> as a direct child of a <picture>, which means that some random other ancestor <picture> could be used instead.

-- 
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/20210426/d130c2ad/attachment.htm>


More information about the webkit-unassigned mailing list