mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
4873 - Support the image map processing for <img ismap/> inside an <a/>
This commit is contained in:
parent
07520de970
commit
7a65b95ae5
7 changed files with 65 additions and 20 deletions
|
@ -750,7 +750,7 @@ impl<'a> Activatable for JSRef<'a, HTMLInputElement> {
|
|||
}
|
||||
|
||||
// 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>) {
|
||||
let ty = self.input_type.get();
|
||||
if self.activation_state.borrow().old_type != ty {
|
||||
// Type changed, abandon ship
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue