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 upDisplay input caret for textarea #7758
Closed
Labels
Comments
|
I'd like to give this a try. |
bors-servo
pushed a commit
that referenced
this issue
Oct 21, 2015
display input caret for textarea. fixes #7758 This adds the input caret for textareas. Although, it does not handle multiline textareas correctly. The caret gets displayed for each line. I'll look into that but that will take more time. Some feedback on this small patch would be appreciated though. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7761) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now it only shows up for
<input>, as can be seen intests/html/test-inputs.htmlvstests/html/test_textarea_input.html. We should improveThreadsafeLayoutNode::insertion_pointto handle<textarea>too, and duplicate the machinery from htmlinputelement.rs to support it.Code: components/script/dom/htmlinputelement.rs, components/layout/wrapper.rs