diff options
author | Shing Lyu <shing.lyu@gmail.com> | 2015-03-12 20:46:16 +0800 |
---|---|---|
committer | Shing Lyu <shing.lyu@gmail.com> | 2015-04-14 10:09:23 +0800 |
commit | 7a65b95ae5c847f5a6dbb650865ca6d14490e9bc (patch) | |
tree | 3270350c67d93bebc981638c01cd13de470104de /components/script/dom/activation.rs | |
parent | 07520de97047916f0d15c7a63b3de20eac50f010 (diff) | |
download | servo-7a65b95ae5c847f5a6dbb650865ca6d14490e9bc.tar.gz servo-7a65b95ae5c847f5a6dbb650865ca6d14490e9bc.zip |
4873 - Support the image map processing for <img ismap/> inside an <a/>
Diffstat (limited to 'components/script/dom/activation.rs')
-rw-r--r-- | components/script/dom/activation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/activation.rs b/components/script/dom/activation.rs index 46ca27cabb5..c95969729b1 100644 --- a/components/script/dom/activation.rs +++ b/components/script/dom/activation.rs @@ -27,7 +27,7 @@ pub trait Activatable : Copy { fn canceled_activation(&self); // https://html.spec.whatwg.org/multipage/interaction.html#run-post-click-activation-steps - fn activation_behavior(&self); + fn activation_behavior(&self, event: JSRef<Event>, target: JSRef<EventTarget>); // https://html.spec.whatwg.org/multipage/forms.html#implicit-submission fn implicit_submission(&self, ctrlKey: bool, shiftKey: bool, altKey: bool, metaKey: bool); @@ -60,7 +60,7 @@ pub trait Activatable : Copy { self.canceled_activation(); } else { // post click activation - self.activation_behavior(); + self.activation_behavior(event, target); } // Step 6 |