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. fixes #7758 #7761
Conversation
highfive
commented
Sep 27, 2015
|
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. |
highfive
commented
Sep 27, 2015
|
|
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. |
|
|
|
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. |
|
@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? |
|
|
|
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 |
|
|
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 -->
|
|
fiji-flo commentedSep 27, 2015
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.