mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Specific instances of activatable elements may not be activatable (fixes #4765
This commit is contained in:
parent
a7e29939a1
commit
26732403b9
3 changed files with 20 additions and 1 deletions
|
@ -17,6 +17,9 @@ use std::borrow::ToOwned;
|
|||
pub trait Activatable : Copy {
|
||||
fn as_element(&self) -> Temporary<Element>;
|
||||
|
||||
// Is this particular instance of the element activatable?
|
||||
fn is_instance_activatable(&self) -> bool;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#run-pre-click-activation-steps
|
||||
fn pre_click_activation(&self);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue