script: Add longdesc reflection to HTMLIFrameElement and HTMLFrameElement (#43518)

script: Add longdesc reflection to HTMLIFrameElement and
HTMLFrameElement

Also corrects the reflection for HTMLImageElement to use USVString.

Testing: Covered by WPTs

Signed-off-by: Luke Warlow <lwarlow@igalia.com>
This commit is contained in:
Luke Warlow
2026-03-21 11:46:16 +00:00
committed by GitHub
parent 4199e050d9
commit 09b0cfce8e
10 changed files with 23 additions and 418 deletions

View File

@@ -1978,10 +1978,10 @@ impl HTMLImageElementMethods<crate::DomTypeHolder> for HTMLImageElement {
make_uint_setter!(SetVspace, "vspace");
// https://html.spec.whatwg.org/multipage/#dom-img-longdesc
make_getter!(LongDesc, "longdesc");
make_url_getter!(LongDesc, "longdesc");
// https://html.spec.whatwg.org/multipage/#dom-img-longdesc
make_setter!(SetLongDesc, "longdesc");
make_url_setter!(SetLongDesc, "longdesc");
// https://html.spec.whatwg.org/multipage/#dom-img-border
make_getter!(Border, "border");