mirror of
https://github.com/servo/servo
synced 2026-05-14 19:06:31 +02:00
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 -->