mirror of
https://github.com/servo/servo
synced 2026-04-27 09:57:23 +02:00
Implement image request concept for HTMLImageElement. Implement HTMLImageElement.currentSrc.
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user