-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
use :read-only
css selector instead [readonly]
for consistency
#33642
Conversation
There are 5 places where [readonly] selector is used. I have replaced with :read-only for consistency. fix for twbs#33101
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.
Looks good to me since :read-only
support is aligned in our browser support.
We may have side effect since it's not targeting the attribute anymore (which one may have used inappropriately on any HTML element) but pseudo-class only applies when it makes sense, so I'd go for it.
:read-only
css selector instead [readonly]
for consistency
I think |
@eter94 Please open a dedicated issue for us to track, as we won't reopen nor comment a merged PR to fix anything. Thanks for providing a test case though, that's vert appreciated. |
There are 5 places where [readonly] selector is used. I have replaced with :read-only for consistency.
fixes #33101