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

Mousing over button text shouldn't show cursor=text #9084

Open
frewsxcv opened this issue Dec 29, 2015 · 2 comments
Open

Mousing over button text shouldn't show cursor=text #9084

frewsxcv opened this issue Dec 29, 2015 · 2 comments

Comments

@frewsxcv
Copy link
Member

@frewsxcv frewsxcv commented Dec 29, 2015

Comparing Servo and Chrome on this page:

untitled

@jdm
Copy link
Member

@jdm jdm commented Dec 29, 2015

This comes from mouse_over in components/layout/query.rs, but originates from the code in display_list_builder.rs which stores cursors for text fragments in build_display_list_for_text_fragment and build_display_items_for_selection_if_necessary. I guess we either need a way of overriding that or explicit checks to see if the text fragment is in a button. I guess we could try adding a cursor property to the button rules in the UA stylesheet, though?

@frewsxcv frewsxcv removed the I-wrong label Dec 29, 2015
@frewsxcv
Copy link
Member Author

@frewsxcv frewsxcv commented Dec 30, 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
2 participants
You can’t perform that action at this time.