-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
layout: Show pointer cursor for submit input with text value #40205
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
Conversation
|
Just to confirm: does the text cursor still appear for a normal text input? Does our behaviour match other browsers? |
|
Yes, it does, as far as I could tell from my manual testing. |
| overflow: hidden !important; | ||
| white-space: pre; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you removing overflow: hidden and white-space: pre here? Isn't it sufficient to simply remove cursor: text and to make the new rule?
cc @Loirooriol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I returned the old block and added a new one. Now WPT tests pass, and the behavior is still the same in the PR description.
|
Looks like a good fix, but I want to double-check the removal of these two unrelated CSS rules before landing. |
Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
layout: Show pointer cursor for submit input with text value
Before:

After:

Testing: tested manually, as suggested by @jdm.
Fixes: #9084