mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Implement image request concept for HTMLImageElement. Implement HTMLImageElement.currentSrc.
This commit is contained in:
parent
dfb482a2b7
commit
90359b1cba
6 changed files with 63 additions and 968 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue