mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user