mirror of
https://github.com/servo/servo.git
synced 2025-08-01 03:30:33 +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. |
||
---|---|---|
.. | ||
canvas | ||
canvas_traits | ||
compositing | ||
devtools | ||
devtools_traits | ||
gfx | ||
gfx_traits | ||
layout | ||
layout_traits | ||
msg | ||
net | ||
net_traits | ||
plugins | ||
profile | ||
profile_traits | ||
script | ||
script_traits | ||
servo | ||
style | ||
style_traits | ||
util | ||
webdriver_server | ||
webdriver_traits |