aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/HTMLImageElement.webidl
diff options
context:
space:
mode:
authorakhan7 <akhan7@ncsu.edu>2016-03-19 19:56:27 -0500
committerJosh Matthews <josh@joshmatthews.net>2016-04-12 14:11:31 -0400
commit90359b1cba2e0171e9666c3ae6beb6cb1596b541 (patch)
treef6f388e5f525d7055207b264b435608493ffd743 /components/script/dom/webidls/HTMLImageElement.webidl
parentdfb482a2b7fdb570f34e9092384fa74a3e1b54e3 (diff)
downloadservo-90359b1cba2e0171e9666c3ae6beb6cb1596b541.tar.gz
servo-90359b1cba2e0171e9666c3ae6beb6cb1596b541.zip
Implement image request concept for HTMLImageElement. Implement HTMLImageElement.currentSrc.
Diffstat (limited to 'components/script/dom/webidls/HTMLImageElement.webidl')
-rw-r--r--components/script/dom/webidls/HTMLImageElement.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/HTMLImageElement.webidl b/components/script/dom/webidls/HTMLImageElement.webidl
index c063301cb39..69bd2f7d4c1 100644
--- a/components/script/dom/webidls/HTMLImageElement.webidl
+++ b/components/script/dom/webidls/HTMLImageElement.webidl
@@ -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
};