Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: ui/webui/resources/css/widgets.css

Issue 2621993006: Drop the -webkit prefix from user-select CSS rule in ui/. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/webui/resources/css/tree.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/css/widgets.css
diff --git a/ui/webui/resources/css/widgets.css b/ui/webui/resources/css/widgets.css
index 0cd35701d8a6ffa4bfa0a34b0aafcb932a756e5f..530db7886d31a76ddcca2e988ff40c11348cea50 100644
--- a/ui/webui/resources/css/widgets.css
+++ b/ui/webui/resources/css/widgets.css
@@ -17,7 +17,6 @@ select,
input[type='checkbox'],
input[type='radio'] {
-webkit-appearance: none;
- -webkit-user-select: none;
background-image: -webkit-linear-gradient(#ededed, #ededed 38%, #dedede);
border: 1px solid rgba(0, 0, 0, 0.25);
border-radius: 2px;
@@ -28,6 +27,7 @@ input[type='radio'] {
margin: 0 1px 0 0;
outline: none;
text-shadow: 0 1px 0 rgb(240, 240, 240);
+ user-select: none;
}
:-webkit-any(button,
@@ -118,12 +118,12 @@ input[type='search'] {
/* Checked ********************************************************************/
input[type='checkbox']:checked::before {
- -webkit-user-select: none;
background-image: url(../images/check.png);
background-size: 100% 100%;
content: '';
display: block;
height: 100%;
+ user-select: none;
width: 100%;
}
@@ -256,12 +256,12 @@ input:disabled:-webkit-any([type='password'],
*/
:-webkit-any(.checkbox, .radio) label {
- -webkit-user-select: none;
/* Don't expand horizontally: <http://crbug.com/112091>. */
align-items: center;
display: inline-flex;
padding-bottom: 7px;
padding-top: 7px;
+ user-select: none;
}
:-webkit-any(.checkbox, .radio) label input {
« no previous file with comments | « ui/webui/resources/css/tree.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698