mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Add type IDL attr for submittable elements
This commit is contained in:
parent
e048f3f940
commit
8a2c746e61
10 changed files with 66 additions and 9 deletions
|
@ -86,6 +86,12 @@ impl<'a> HTMLObjectElementMethods for JSRef<'a, HTMLObjectElement> {
|
|||
let window = window_from_node(self).root();
|
||||
ValidityState::new(*window)
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/embedded-content.html#dom-object-type
|
||||
make_getter!(Type)
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/embedded-content.html#dom-object-type
|
||||
make_setter!(SetType, "type")
|
||||
}
|
||||
|
||||
impl<'a> VirtualMethods for JSRef<'a, HTMLObjectElement> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue