servo/components
Florian Merz c26b80cf4f add get_insertion_point_index_for_layout
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.
2015-11-03 21:55:41 +01:00
..
canvas Update euclid to 0.3 2015-10-28 21:34:23 +05:30
canvas_traits Fix serde_macros 2015-10-28 21:53:15 +05:30
compositing Handle multi-touch events from glutin 2015-11-03 08:56:34 -08:00
devtools Fix serde_macros 2015-10-28 21:53:15 +05:30
devtools_traits Fix serde_macros 2015-10-28 21:53:15 +05:30
gfx Expand DisplayList layer bounds to whole pixels 2015-10-28 18:11:59 -07:00
gfx_traits Update euclid to 0.3 2015-10-28 21:34:23 +05:30
layout add get_insertion_point_index_for_layout 2015-11-03 21:55:41 +01:00
layout_traits Fix serde_macros 2015-10-28 21:53:15 +05:30
msg Fix serde_macros 2015-10-28 21:53:15 +05:30
net Accept Brotli-compressed HTTP responses #8156 2015-11-01 08:59:18 +05:30
net_traits Fix serde_macros 2015-10-28 21:53:15 +05:30
plugins Fix misplaced doc comment in plugins/lib.rs 2015-10-27 16:37:57 -07:00
profile Heartbeats support for Android. 2015-10-29 13:22:49 -05:00
profile_traits Auto merge of #8253 - connorimes:android-energy-profiling, r=mbrubeck 2015-10-30 12:26:10 +05:30
script add get_insertion_point_index_for_layout 2015-11-03 21:55:41 +01:00
script_traits Handle multi-touch events from glutin 2015-11-03 08:56:34 -08:00
servo Auto merge of #8291 - ecoal95:webgl-drop, r=jdm 2015-11-02 18:52:33 +05:30
style Auto merge of #8111 - gilles-leblanc:issue-8002, r=SimonSapin 2015-11-03 21:39:32 +05:30
style_traits Fix serde_macros 2015-10-28 21:53:15 +05:30
util Handle multi-touch events from glutin 2015-11-03 08:56:34 -08:00
webdriver_server update image to 0.4.0 2015-10-21 08:37:41 +02:00
webdriver_traits Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00