diff options
-rw-r--r-- | components/script/dom/keyboardevent.rs | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/components/script/dom/keyboardevent.rs b/components/script/dom/keyboardevent.rs index 025c64ac59c..9d1a7d5245a 100644 --- a/components/script/dom/keyboardevent.rs +++ b/components/script/dom/keyboardevent.rs @@ -319,32 +319,32 @@ fn code_value(key: constellation_msg::Key) -> &'static str { constellation_msg::Key::Num9 => "Digit9", constellation_msg::Key::Semicolon => "Semicolon", constellation_msg::Key::Equal => "Equals", - constellation_msg::Key::A => "Key::A", - constellation_msg::Key::B => "Key::B", - constellation_msg::Key::C => "Key::C", - constellation_msg::Key::D => "Key::D", - constellation_msg::Key::E => "Key::E", - constellation_msg::Key::F => "Key::F", - constellation_msg::Key::G => "Key::G", - constellation_msg::Key::H => "Key::H", - constellation_msg::Key::I => "Key::I", - constellation_msg::Key::J => "Key::J", - constellation_msg::Key::K => "Key::K", - constellation_msg::Key::L => "Key::L", - constellation_msg::Key::M => "Key::M", - constellation_msg::Key::N => "Key::N", - constellation_msg::Key::O => "Key::O", - constellation_msg::Key::P => "Key::P", - constellation_msg::Key::Q => "Key::Q", - constellation_msg::Key::R => "Key::R", - constellation_msg::Key::S => "Key::S", - constellation_msg::Key::T => "Key::T", - constellation_msg::Key::U => "Key::U", - constellation_msg::Key::V => "Key::V", - constellation_msg::Key::W => "Key::W", - constellation_msg::Key::X => "Key::X", - constellation_msg::Key::Y => "Key::Y", - constellation_msg::Key::Z => "Key::Z", + constellation_msg::Key::A => "KeyA", + constellation_msg::Key::B => "KeyB", + constellation_msg::Key::C => "KeyC", + constellation_msg::Key::D => "KeyD", + constellation_msg::Key::E => "KeyE", + constellation_msg::Key::F => "KeyF", + constellation_msg::Key::G => "KeyG", + constellation_msg::Key::H => "KeyH", + constellation_msg::Key::I => "KeyI", + constellation_msg::Key::J => "KeyJ", + constellation_msg::Key::K => "KeyK", + constellation_msg::Key::L => "KeyL", + constellation_msg::Key::M => "KeyM", + constellation_msg::Key::N => "KeyN", + constellation_msg::Key::O => "KeyO", + constellation_msg::Key::P => "KeyP", + constellation_msg::Key::Q => "KeyQ", + constellation_msg::Key::R => "KeyR", + constellation_msg::Key::S => "KeyS", + constellation_msg::Key::T => "KeyT", + constellation_msg::Key::U => "KeyU", + constellation_msg::Key::V => "KeyV", + constellation_msg::Key::W => "KeyW", + constellation_msg::Key::X => "KeyX", + constellation_msg::Key::Y => "KeyY", + constellation_msg::Key::Z => "KeyZ", constellation_msg::Key::LeftBracket => "BracketLeft", constellation_msg::Key::Backslash => "Backslash", constellation_msg::Key::RightBracket => "BracketRight", |