New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
display input caret for textarea. fixes #7758 #7761
Conversation
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @Ms2ger (or someone else) soon. |
|
You so fast. |
@pcwalton should I put that into a new file or is there a suitable place for a new trait like this? I didn't spot one. I would include I'll take a look where to put the Thanks for the input. |
@fiji-flo |
@pcwalton I created a I'm having a hard time figuring out where to put a unified trait for text area and input element. I did not find something similar in Thanks again for your input here. |
☔ The latest upstream changes (presumably #7786) made this pull request unmergeable. Please resolve the merge conflicts. |
With the latest changes from master @pcwalton maybe they just don't belong into the same trait. Also, I noticed that the input caret is displayed in each line when you add newlines in the text area. Should I solve this in this PR or rather keep this small and solve it as a new issue? |
Let's keep this PR small and solve the multiline issue in another one. I agree that I don't see much cause for sharing the code at this point. |
Yeah, let's keep them separate and avoid the trait. |
159e2f8
to
fa3856b
Compare
@pcwalton I've updated and squashed down. Is there something missing? And as I said. I'll work on the followup issue. |
I'm hunting down the multiline problem I saw. This should be not so hard to solve so postpone the review as some more changes are coming. |
The last commits should take care of the multiline problem I was observing. @pcwalton can I have some feedback on this? |
☔ The latest upstream changes (presumably #8115) made this pull request unmergeable. Please resolve the merge conflicts. |
I'll poke @pcwalton about this today. |
Looks good to me. Rebase and I'll r+. Sorry this took so long. |
@pcwalton rebased and squashed down |
@bors-servo: r=pcwalton |
📌 Commit 80e8a67 has been approved by |
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 -->
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |
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.