mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
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:
parent
bc75bf4cfa
commit
ed8def2896
6 changed files with 6 additions and 14 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue