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

Side by Side 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 unified diff | Download patch
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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 } 784 }
785 785
786 option { 786 option {
787 font-weight: normal; 787 font-weight: normal;
788 display: block; 788 display: block;
789 padding: 0 2px 1px 2px; 789 padding: 0 2px 1px 2px;
790 white-space: pre; 790 white-space: pre;
791 min-height: 1.2em; 791 min-height: 1.2em;
792 } 792 }
793 793
794 select:-internal-list-box optgroup option:before {
795 content: "\00a0\00a0\00a0\00a0";;
796 }
797
794 select:-internal-list-box option, 798 select:-internal-list-box option,
795 select:-internal-list-box optgroup { 799 select:-internal-list-box optgroup {
796 line-height: initial !important; 800 line-height: initial !important;
797 } 801 }
798 802
799 select:-internal-list-box:focus option:checked { 803 select:-internal-list-box:focus option:checked {
800 background-color: -internal-active-list-box-selection !important; 804 background-color: -internal-active-list-box-selection !important;
801 color: -internal-active-list-box-selection-text !important; 805 color: -internal-active-list-box-selection-text !important;
802 } 806 }
803 807
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 @page { 1102 @page {
1099 /* FIXME: Define the right default values for page properties. */ 1103 /* FIXME: Define the right default values for page properties. */
1100 size: auto; 1104 size: auto;
1101 margin: auto; 1105 margin: auto;
1102 padding: 0px; 1106 padding: 0px;
1103 border-width: 0px; 1107 border-width: 0px;
1104 } 1108 }
1105 1109
1106 /* noscript is handled internally, as it depends on settings. */ 1110 /* noscript is handled internally, as it depends on settings. */
1107 1111
OLDNEW
« 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