Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upText cursor appears in wrong position for password inputs #8107
Comments
|
I will take a look. It's similar to my last issue. |
|
Please do :) |
fiji-flo
added a commit
to fiji-flo/servo
that referenced
this issue
Oct 30, 2015
This resolves servo#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.
fiji-flo
added a commit
to fiji-flo/servo
that referenced
this issue
Nov 3, 2015
This resolves servo#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.
bors-servo
added a commit
that referenced
this issue
Nov 4, 2015
add get_raw_layout_value (HTMLInputElementHelpers) 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. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8265) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perhaps it's something about multibyte characters? It usually falls behind the actual character display and doesn't appear to catch up.