diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-11-13 10:57:33 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-11-13 10:57:33 -0700 |
commit | 2ffa845cf463b14b19322d477a77ffd20efa89a9 (patch) | |
tree | 64428ac6615df95fabb298f0aeb274fc10f947c7 /components/script/dom/window.rs | |
parent | c5e1b0d32e17fad29799023c85e2e73ac89c3af7 (diff) | |
parent | c23edf6f5a020f24008c84957c1a290241632c6d (diff) | |
download | servo-2ffa845cf463b14b19322d477a77ffd20efa89a9.tar.gz servo-2ffa845cf463b14b19322d477a77ffd20efa89a9.zip |
auto merge of #3585 : jdm/servo/input, r=gw
This attempts to implement a bunch of the DOM Level 3 Events spec by implementing the KeyboardEvent interface, the document focus context, and dispatching keyup/keydown/keypress events appropriately. There's also some support for multiline text input that's untested.
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index b4318b69fa3..a3664207b85 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -382,6 +382,7 @@ impl<'a> WindowHelpers for JSRef<'a, Window> { fn handle_fire_timer(self, timer_id: TimerId, cx: *mut JSContext) { let this_value = self.reflector().get_jsobject(); self.timers.fire_timer(timer_id, this_value, cx); + self.flush_layout(); } } |