mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
script: Ask layout to redraw the selection whenever the user moves the
caret in an input element.
This commit is contained in:
parent
4a53c873f5
commit
34d9a6091b
3 changed files with 18 additions and 11 deletions
|
@ -350,6 +350,9 @@ impl VirtualMethods for HTMLTextAreaElement {
|
|||
|
||||
self.force_relayout();
|
||||
}
|
||||
KeyReaction::RedrawSelection => {
|
||||
self.force_relayout();
|
||||
}
|
||||
KeyReaction::Nothing => (),
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue