mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Auto merge of #10543 - jdm:imageload, r=jdm
Implement image request concept for HTMLImageElement. Implement HTMLI… …mageElement.currentSrc. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10543) <!-- Reviewable:end -->
This commit is contained in:
commit
85f4e58285
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