mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove get_*
on getters as per RFC 0344.
https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis https://github.com/servo/servo/issues/6224
This commit is contained in:
parent
3b376bb319
commit
11a3ce1257
9 changed files with 29 additions and 29 deletions
|
@ -213,7 +213,7 @@ impl Activatable for HTMLButtonElement {
|
|||
|
||||
fn is_instance_activatable(&self) -> bool {
|
||||
//https://html.spec.whatwg.org/multipage/#the-button-element
|
||||
!self.upcast::<Element>().get_disabled_state()
|
||||
!self.upcast::<Element>().disabled_state()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#run-pre-click-activation-steps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue