Implement named item condition for images, not only should we check there are both an id and a name attribute, but also that the name attribute is non-empty: https://html.spec.whatwg.org/multipage/dom.html#dom-document-nameditem-filter
Created attachment 400473 [details] Patch
Comment on attachment 400473 [details] Patch r=me
Committed r262360: <https://trac.webkit.org/changeset/262360> All reviewed patches have been landed. Closing bug and clearing flags on attachment 400473 [details].
<rdar://problem/63805627>