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

Unified Diff: chrome/browser/resources/shared/css/checkbox.css

Issue 8918012: Fix the positioning of the checkmark in WebUI pages for all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/shared/css/checkbox.css
===================================================================
--- chrome/browser/resources/shared/css/checkbox.css (revision 114042)
+++ chrome/browser/resources/shared/css/checkbox.css (working copy)
@@ -13,8 +13,6 @@
border-radius: 3px;
border: 1px solid #a0a0a0;
display: inline-block;
- font: inherit; /* TODO(csilv): investigate why this is required on the
- Windows platform. http://crbug.com/105811 */
height: 16px;
margin-bottom: 0;
margin-top: 0;
@@ -43,15 +41,13 @@
input[type='checkbox']:checked::before {
color: #808080;
content: url('../images/checkmark.png');
+ font-size: 13px; /* Explicitly set the font size so that the positioning
+ of the checkmark is correct. */
height: 16px;
left: 2px;
position: absolute;
}
-html[os=mac] input[type='checkbox']:checked::before {
- top: 2px;
-}
-
input[type='radio'] {
-webkit-box-shadow: inset 0 1px 2px white,
0 1px 2px rgba(0, 0, 0, .2);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698