Add the type IDL attribute to htmlfieldsetelement (#32869)

* Add the type IDL attribute to htmlfieldsetelement

Signed-off-by: Shane Handley <shanehandley@fastmail.com>

* Fix missing idlharness test expectations

Signed-off-by: Shane Handley <shanehandley@fastmail.com>

---------

Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
shanehandley 2024-07-29 01:01:01 +10:00 committed by GitHub
parent bc75bf4cfa
commit ed8def2896
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 14 deletions

View file

@ -144,6 +144,11 @@ impl HTMLFieldSetElementMethods for HTMLFieldSetElement {
fn SetCustomValidity(&self, error: DOMString) {
self.validity_state().set_custom_error_message(error);
}
/// <https://html.spec.whatwg.org/multipage/#dom-fieldset-type>
fn Type(&self) -> DOMString {
DOMString::from_string(String::from("fieldset"))
}
}
impl VirtualMethods for HTMLFieldSetElement {