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

Unified Diff: Source/core/css/html.css

Issue 783983005: Fix regression caused by r178354 where options in optgroup not indented (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reverted change to Element.cpp Created 6 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
Index: Source/core/css/html.css
diff --git a/Source/core/css/html.css b/Source/core/css/html.css
index 6566aff360bd29c489fc63ee2551a1a05316ff37..c49329f100bb99bc8bf09dc2ebb9180fb0ef142f 100644
--- a/Source/core/css/html.css
+++ b/Source/core/css/html.css
@@ -791,6 +791,10 @@ option {
min-height: 1.2em;
}
+select:-internal-list-box optgroup option:before {
+ content: "\00a0\00a0\00a0\00a0";;
+}
+
select:-internal-list-box option,
select:-internal-list-box optgroup {
line-height: initial !important;
« no previous file with comments | « LayoutTests/platform/linux/fast/forms/select/optgroup-rendering-expected.txt ('k') | Source/core/html/HTMLOptionElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698