From 87fa719c219ac09e2006e17901defef0e1911c44 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren
src
attribute and the HTMLImageElement : HTMLElement {
hack for src="", not srcset=""; present but empty or bogus srcset="" still means complete=false
if it's not in the img-error state -->
- - The final task that is queued by the networking task source once the resource has been fetched
- has been queued.
-
- The
img
element's current request's state is completely available.
+ data-x="img-req-state">state is completely available and its
+ pending request is null.
- The
img
element's current request's state is broken.
-
+ data-x="img-req-state">state is broken and its
+ pending request is null.
Otherwise, the attribute must return false.
-The value of complete
can thus change while
- a script is executing.
The currentSrc
IDL attribute
must return the img
element's current request's current URL.
If any of the following conditions are true about this img
element: