mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add FIXME
to the new comment asking wether code below it is right
This commit is contained in:
parent
f35a870f55
commit
e501eaaa5b
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ impl CompiledEventListener {
|
|||
let should_cancel = value.is_boolean() && value.to_boolean() == false;
|
||||
|
||||
if should_cancel {
|
||||
// spec says to set the cancelled flag directly
|
||||
// FIXME: spec says to set the cancelled flag directly
|
||||
// here, not just to prevent default;
|
||||
// can that ever make a difference?
|
||||
event.PreventDefault();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue