Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -31711,15 +31711,8 @@ interface <dfn interface>HTMLImageElement</dfn> : <span>HTMLElement</span> {
<p>If any of the following are true:</p>

<ul>
<!--TODO: check picture parent-->

<li><p>both the <code data-x="attr-img-src">src</code> attribute and the <code
data-x="attr-img-srcset">srcset</code> attribute are omitted;</p></li>

<li><p>the <code data-x="attr-img-srcset">srcset</code> attribute is omitted and the <code
data-x="attr-img-src">src</code> attribute's value is the empty string;</p></li>
<!-- we only have this hack for src="", not srcset=""; present but empty or bogus srcset=""
still means complete=false if it's not in the img-error state -->
<li><p>the URL that results from <span data-x="select an image source">selecting an image source</span>
is null.</p></li>

<li><p>the <code>img</code> element's <span>current request</span>'s <span
data-x="img-req-state">state</span> is <span data-x="img-all">completely available</span> and
Expand Down