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

Side by Side Diff: Source/core/css/html.css

Issue 544473002: Line-height style shouldn't apply to option elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use !important Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/forms/select/listbox-line-height-expected.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * The default style sheet used to render HTML. 2 * The default style sheet used to render HTML.
3 * 3 *
4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 } 780 }
781 781
782 option { 782 option {
783 font-weight: normal; 783 font-weight: normal;
784 display: block; 784 display: block;
785 padding: 0 2px 1px 2px; 785 padding: 0 2px 1px 2px;
786 white-space: pre; 786 white-space: pre;
787 min-height: 1.2em; 787 min-height: 1.2em;
788 } 788 }
789 789
790 select:-internal-list-box option,
791 select:-internal-list-box optgroup {
792 line-height: initial !important;
793 }
794
790 select:-internal-list-box:focus option:checked { 795 select:-internal-list-box:focus option:checked {
791 background-color: -internal-active-list-box-selection !important; 796 background-color: -internal-active-list-box-selection !important;
792 color: -internal-active-list-box-selection-text !important; 797 color: -internal-active-list-box-selection-text !important;
793 } 798 }
794 799
795 select:-internal-list-box option:checked { 800 select:-internal-list-box option:checked {
796 background-color: -internal-inactive-list-box-selection !important; 801 background-color: -internal-inactive-list-box-selection !important;
797 color: -internal-inactive-list-box-selection-text !important; 802 color: -internal-inactive-list-box-selection-text !important;
798 } 803 }
799 804
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 @page { 1094 @page {
1090 /* FIXME: Define the right default values for page properties. */ 1095 /* FIXME: Define the right default values for page properties. */
1091 size: auto; 1096 size: auto;
1092 margin: auto; 1097 margin: auto;
1093 padding: 0px; 1098 padding: 0px;
1094 border-width: 0px; 1099 border-width: 0px;
1095 } 1100 }
1096 1101
1097 /* noscript is handled internally, as it depends on settings. */ 1102 /* noscript is handled internally, as it depends on settings. */
1098 1103
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/select/listbox-line-height-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698