mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
coding style in htmlinputelement, TODO in button
add comment, empty line in inputelement add button type TODO in buttonelement
This commit is contained in:
parent
0f2b1c4856
commit
5f82780d3a
2 changed files with 4 additions and 0 deletions
|
@ -53,6 +53,7 @@ impl HTMLButtonElement {
|
|||
fn new_inherited(localName: DOMString, prefix: Option<DOMString>, document: JSRef<Document>) -> HTMLButtonElement {
|
||||
HTMLButtonElement {
|
||||
htmlelement: HTMLElement::new_inherited(HTMLElementTypeId::HTMLButtonElement, localName, prefix, document),
|
||||
//TODO: implement button_type in after_set_attr
|
||||
button_type: Cell::new(ButtonType::ButtonSubmit)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue