aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlbuttonelement.rs
diff options
context:
space:
mode:
authorPatrick Shaughnessy <pshaughn@comcast.net>2020-01-09 15:33:52 -0500
committerPatrick Shaughnessy <pshaughn@comcast.net>2020-02-12 15:57:37 -0500
commit01aba1fcc453192da64272dcc180135ce11e4ea7 (patch)
tree31f92472dca740a63a91a51188a0f3325a00481b /components/script/dom/htmlbuttonelement.rs
parented9b5843443db7164bda6eb6f3cb7caff2ff5a3c (diff)
downloadservo-01aba1fcc453192da64272dcc180135ce11e4ea7.tar.gz
servo-01aba1fcc453192da64272dcc180135ce11e4ea7.zip
Event dispatch rewritten to resemble spec more often, activate on clicks better
Diffstat (limited to 'components/script/dom/htmlbuttonelement.rs')
-rwxr-xr-xcomponents/script/dom/htmlbuttonelement.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/components/script/dom/htmlbuttonelement.rs b/components/script/dom/htmlbuttonelement.rs
index 49541a2d4a0..cb4efceb152 100755
--- a/components/script/dom/htmlbuttonelement.rs
+++ b/components/script/dom/htmlbuttonelement.rs
@@ -290,13 +290,6 @@ impl Activatable for HTMLButtonElement {
!self.upcast::<Element>().disabled_state()
}
- // https://html.spec.whatwg.org/multipage/#run-pre-click-activation-steps
- // https://html.spec.whatwg.org/multipage/#the-button-element:activation-behavior
- fn pre_click_activation(&self) {}
-
- // https://html.spec.whatwg.org/multipage/#run-canceled-activation-steps
- fn canceled_activation(&self) {}
-
// https://html.spec.whatwg.org/multipage/#run-post-click-activation-steps
fn activation_behavior(&self, _event: &Event, _target: &EventTarget) {
let ty = self.button_type.get();