mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
LibWeb: Change attribute type to USVString where applicable
Also mark USVString attributes as containing a URL, where applicable.
This commit is contained in:
parent
335d51d678
commit
1369fc5069
Notes:
github-actions[bot]
2024-08-17 05:59:13 +00:00
Author: https://github.com/tcl3
Commit: 1369fc5069
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1059
Reviewed-by: https://github.com/shannonbooth
19 changed files with 66 additions and 23 deletions
|
@ -9,7 +9,7 @@ interface HTMLImageElement : HTMLElement {
|
|||
[HTMLConstructor] constructor();
|
||||
|
||||
[CEReactions, Reflect] attribute DOMString alt;
|
||||
[CEReactions, Reflect] attribute DOMString src;
|
||||
[CEReactions, Reflect, URL] attribute USVString src;
|
||||
[CEReactions, Reflect] attribute DOMString srcset;
|
||||
[CEReactions, Reflect] attribute DOMString sizes;
|
||||
[CEReactions, Enumerated=CORSSettingsAttribute, Reflect=crossorigin] attribute DOMString? crossOrigin;
|
||||
|
@ -34,7 +34,7 @@ interface HTMLImageElement : HTMLElement {
|
|||
[CEReactions, Reflect] attribute DOMString align;
|
||||
[CEReactions, Reflect] attribute unsigned long hspace;
|
||||
[CEReactions, Reflect] attribute unsigned long vspace;
|
||||
[CEReactions, Reflect=longdesc] attribute USVString longDesc;
|
||||
[CEReactions, Reflect=longdesc, URL] attribute USVString longDesc;
|
||||
|
||||
[CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString border;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue