mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -50,6 +50,11 @@ impl<'a> HTMLTextAreaElementMethods for JSRef<'a, HTMLTextAreaElement> {
|
|||
|
||||
// http://www.whatwg.org/html/#dom-fe-disabled
|
||||
make_bool_setter!(SetDisabled, "disabled")
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#dom-textarea-type
|
||||
fn Type(self) -> DOMString {
|
||||
"textarea".to_string()
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> VirtualMethods for JSRef<'a, HTMLTextAreaElement> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue