mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Add Comparable trait to js.rs; fixups
This commit is contained in:
parent
e7b3caa386
commit
5511e02a78
6 changed files with 53 additions and 39 deletions
|
@ -1253,7 +1253,7 @@ impl<'a> ActivationElementHelpers<'a> for JSRef<'a, Element> {
|
|||
// Step 4
|
||||
let e = self.nearest_activable_element().root();
|
||||
match e {
|
||||
Some (el) => match el.as_maybe_activatable() {
|
||||
Some(el) => match el.as_maybe_activatable() {
|
||||
Some(elem) => {
|
||||
// Step 5-6
|
||||
elem.pre_click_activation();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue