mirror of
https://github.com/servo/servo.git
synced 2025-07-30 10:40:27 +01:00
This resolves #8107 Previously the index of the insetion point for a password input was calculated using the scrambled string based on the edit point in the raw string. That could lead to a wrong position of the caret. This commit changes this behavior to calculate the insertion point using the raw string. This is done in `HTMLInputElementHelpers::get_insertion_point_index_for_layout` and relies on a 1:1 mapping of the chars in the raw input to the scrambled chars (currently bullets) in the password input. |
||
---|---|---|
.. | ||
docs | ||
dom | ||
parse | ||
build.rs | ||
Cargo.toml | ||
clipboard_provider.rs | ||
cors.rs | ||
devtools.rs | ||
document_loader.rs | ||
layout_interface.rs | ||
lib.rs | ||
makefile.cargo | ||
mem.rs | ||
network_listener.rs | ||
page.rs | ||
script_task.rs | ||
textinput.rs | ||
timers.rs | ||
unpremultiplytable.rs | ||
webdriver_handlers.rs |