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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/forms/select/listbox-line-height-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/html.css
diff --git a/Source/core/css/html.css b/Source/core/css/html.css
index f53470afb3ac5d9392df35dfc653afe58b7c0058..00df892521319d739e730be645380d70537c7b52 100644
--- a/Source/core/css/html.css
+++ b/Source/core/css/html.css
@@ -787,6 +787,11 @@ option {
min-height: 1.2em;
}
+select:-internal-list-box option,
+select:-internal-list-box optgroup {
+ line-height: initial !important;
+}
+
select:-internal-list-box:focus option:checked {
background-color: -internal-active-list-box-selection !important;
color: -internal-active-list-box-selection-text !important;
« 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