mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Set detail field to be 1 by default for mouse events.
The spec says this should be "A count of consecutive clicks that happened in a short amount of time, incremented by one." This change matches the typical behaviour in FF.
This commit is contained in:
parent
b1c4862119
commit
2a2c7e18c0
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ impl<'a> DocumentHelpers<'a> for &'a Document {
|
|||
EventBubbles::Bubbles,
|
||||
EventCancelable::Cancelable,
|
||||
Some(window.r()),
|
||||
0i32,
|
||||
1i32,
|
||||
x, y, x, y,
|
||||
false, false, false, false,
|
||||
0i16,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue