diff options
Diffstat (limited to 'components/script/dom/webidls/HTMLImageElement.webidl')
-rw-r--r-- | components/script/dom/webidls/HTMLImageElement.webidl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webidls/HTMLImageElement.webidl b/components/script/dom/webidls/HTMLImageElement.webidl index e8958f83958..e5697879e29 100644 --- a/components/script/dom/webidls/HTMLImageElement.webidl +++ b/components/script/dom/webidls/HTMLImageElement.webidl @@ -8,9 +8,9 @@ interface HTMLImageElement : HTMLElement { [CEReactions] attribute DOMString alt; [CEReactions] - attribute DOMString src; + attribute USVString src; [CEReactions] - attribute DOMString srcset; + attribute USVString srcset; [CEReactions] attribute DOMString? crossOrigin; [CEReactions] @@ -24,7 +24,7 @@ interface HTMLImageElement : HTMLElement { readonly attribute unsigned long naturalWidth; readonly attribute unsigned long naturalHeight; readonly attribute boolean complete; - readonly attribute DOMString currentSrc; + readonly attribute USVString currentSrc; // also has obsolete members }; |