mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Make textinput handle actual key values. Don't restrict character values to a single byte.
This commit is contained in:
parent
04ce86c08c
commit
6496d73210
12 changed files with 123 additions and 72 deletions
|
@ -1937,7 +1937,7 @@ impl ScriptThread {
|
|||
document.r().handle_touchpad_pressure_event(self.js_runtime.rt(), point, pressure, phase);
|
||||
}
|
||||
|
||||
KeyEvent(key, state, modifiers, ch) => {
|
||||
KeyEvent(ch, key, state, modifiers) => {
|
||||
let document = match self.root_browsing_context().find(pipeline_id) {
|
||||
Some(browsing_context) => browsing_context.active_document(),
|
||||
None => return warn!("Message sent to closed pipeline {}.", pipeline_id),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue