Skip to content

Commit

Permalink
LibWeb: Use [URL] extended attribute for HTMLInputElement.src
Browse files Browse the repository at this point in the history
  • Loading branch information
tcl3 committed Nov 26, 2024
1 parent 24069d5 commit cc0ad0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/LibWeb/HTML/HTMLInputElement.idl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ interface HTMLInputElement : HTMLElement {
[CEReactions, Reflect=readonly] attribute boolean readOnly;
[CEReactions, Reflect] attribute boolean required;
[CEReactions] attribute unsigned long size;
[CEReactions, Reflect] attribute USVString src;
[CEReactions, Reflect, URL] attribute USVString src;
[CEReactions, Reflect] attribute DOMString step;
[CEReactions] attribute DOMString type;
[CEReactions, Reflect=value] attribute DOMString defaultValue;
Expand Down
1 change: 1 addition & 0 deletions Tests/LibWeb/Text/expected/usvstring-url-reflection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ iframe.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD
img.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD
img.longDesc final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD
img.lowsrc final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD
input.src final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD
link.href final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD
object.codeBase final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD
object.data final URL path segment: %EF%BF%BDa%EF%BF%BDb%EF%BF%BD
Expand Down
1 change: 1 addition & 0 deletions Tests/LibWeb/Text/input/usvstring-url-reflection.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
{ "img": "src" },
{ "img": "longDesc" },
{ "img": "lowsrc" },
{ "input": "src" },
{ "link": "href" },
{ "object": "codeBase" },
{ "object": "data" },
Expand Down

0 comments on commit cc0ad0d

Please sign in to comment.