mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement the svgevents argument to Document::createEvent
This commit is contained in:
parent
f1defb446e
commit
bb19e7d3ac
2 changed files with 1 additions and 25 deletions
|
@ -2154,7 +2154,7 @@ impl DocumentMethods for Document {
|
|||
Ok(Root::upcast(MouseEvent::new_uninitialized(&self.window))),
|
||||
"customevent" =>
|
||||
Ok(Root::upcast(CustomEvent::new_uninitialized(GlobalRef::Window(&self.window)))),
|
||||
"htmlevents" | "events" | "event" =>
|
||||
"htmlevents" | "events" | "event" | "svgevents" =>
|
||||
Ok(Event::new_uninitialized(GlobalRef::Window(&self.window))),
|
||||
"keyboardevent" | "keyevents" =>
|
||||
Ok(Root::upcast(KeyboardEvent::new_uninitialized(&self.window))),
|
||||
|
|
|
@ -301,30 +301,6 @@
|
|||
bug: https://github.com/servo/servo/issues/10736
|
||||
expected: FAIL
|
||||
|
||||
[SVGEvents should be an alias for Event.]
|
||||
bug: https://github.com/servo/servo/issues/10741
|
||||
expected: FAIL
|
||||
|
||||
[createEvent('SVGEvents') should be initialized correctly.]
|
||||
bug: https://github.com/servo/servo/issues/10741
|
||||
expected: FAIL
|
||||
|
||||
[svgevents should be an alias for Event.]
|
||||
bug: https://github.com/servo/servo/issues/10741
|
||||
expected: FAIL
|
||||
|
||||
[createEvent('svgevents') should be initialized correctly.]
|
||||
bug: https://github.com/servo/servo/issues/10741
|
||||
expected: FAIL
|
||||
|
||||
[SVGEVENTS should be an alias for Event.]
|
||||
bug: https://github.com/servo/servo/issues/10741
|
||||
expected: FAIL
|
||||
|
||||
[createEvent('SVGEVENTS') should be initialized correctly.]
|
||||
bug: https://github.com/servo/servo/issues/10741
|
||||
expected: FAIL
|
||||
|
||||
[SVGZoomEvent should be an alias for SVGZoomEvent.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue