mirror of
https://github.com/servo/servo
synced 2026-04-28 10:27:40 +02:00
Update src/href attributes to be a USVString
The following IDLs have the src/href attributes typed as a DOMString while in the spec the attribute has been updated to be a USVString: - HTMLIFrameElement - HTMLImageElement - HTMLInputElement - HTMLLinkElement - HTMLMediaElement - HTMLScriptElement
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user