Skip to content
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

Only display text caret in text inputs #7756

Closed
jdm opened this issue Sep 27, 2015 · 2 comments
Closed

Only display text caret in text inputs #7756

jdm opened this issue Sep 27, 2015 · 2 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Sep 27, 2015

tests/html/test-inputs.html shows text carets in <input type="submit"> for example :) We should adjust the code added in this PR that implemented the caret to handle this case, by making get_insertion_point_for_layout return an Option value.

Code: components/script/dom/htmlinputelement.rs

@j3parker
Copy link
Contributor

@j3parker j3parker commented Sep 27, 2015

I'll grab this

@jdm jdm added the C-assigned label Sep 27, 2015
bors-servo pushed a commit that referenced this issue Sep 29, 2015
Only display text carets in text inputs

For #7756

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7764)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this issue Sep 29, 2015
Only display text carets in text inputs

For #7756

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7764)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this issue Sep 29, 2015
Only display text carets in text inputs

For #7756

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7764)
<!-- Reviewable:end -->
@wafflespeanut
Copy link
Member

@wafflespeanut wafflespeanut commented Oct 3, 2015

#7764 closes this.

@jdm jdm closed this Oct 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.