mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +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,
|
EventBubbles::Bubbles,
|
||||||
EventCancelable::Cancelable,
|
EventCancelable::Cancelable,
|
||||||
Some(window.r()),
|
Some(window.r()),
|
||||||
0i32,
|
1i32,
|
||||||
x, y, x, y,
|
x, y, x, y,
|
||||||
false, false, false, false,
|
false, false, false, false,
|
||||||
0i16,
|
0i16,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue