Implement image request concept for HTMLImageElement. Implement HTMLImageElement.currentSrc.

This commit is contained in:
akhan7
2016-03-19 19:56:27 -05:00
committed by Josh Matthews
parent dfb482a2b7
commit 90359b1cba
6 changed files with 63 additions and 968 deletions

View File

@@ -9,7 +9,7 @@ interface HTMLImageElement : HTMLElement {
attribute DOMString alt;
attribute DOMString src;
// attribute DOMString srcset;
// attribute DOMString crossOrigin;
attribute DOMString crossOrigin;
attribute DOMString useMap;
attribute boolean isMap;
attribute unsigned long width;
@@ -17,7 +17,7 @@ interface HTMLImageElement : HTMLElement {
readonly attribute unsigned long naturalWidth;
readonly attribute unsigned long naturalHeight;
readonly attribute boolean complete;
readonly attribute DOMString currentSrc;
// also has obsolete members
};