mirror of
https://github.com/servo/servo
synced 2026-05-03 04:42:17 +02:00
Forward WebDriver CompositionEvent
Dispatch composition events in JS. Insert characters from composition events to text input. CompositionEvents currently can only be created by WebDriver and not by embedders.
This commit is contained in:
@@ -59,6 +59,10 @@ impl CompositionEvent {
|
||||
);
|
||||
Ok(event)
|
||||
}
|
||||
|
||||
pub fn data(&self) -> &str {
|
||||
&*self.data
|
||||
}
|
||||
}
|
||||
|
||||
impl CompositionEventMethods for CompositionEvent {
|
||||
|
||||
Reference in New Issue
Block a user