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

@@ -1018,6 +1018,12 @@ impl HTMLIFrameElementMethods<crate::DomTypeHolder> for HTMLIFrameElement {
// https://html.spec.whatwg.org/multipage/#attr-iframe-loading
make_setter!(SetLoading, "loading");
// https://html.spec.whatwg.org/multipage/#dom-iframe-longdesc
make_url_getter!(LongDesc, "longdesc");
// https://html.spec.whatwg.org/multipage/#dom-iframe-longdesc
make_url_setter!(SetLongDesc, "longdesc");
}
impl VirtualMethods for HTMLIFrameElement {