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

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

Issue 34753002: make input type=color RTL direction aware (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
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 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 773
774 input[type="color"]::-webkit-color-swatch-wrapper { 774 input[type="color"]::-webkit-color-swatch-wrapper {
775 display:flex; 775 display:flex;
776 padding: 4px 2px; 776 padding: 4px 2px;
777 box-sizing: border-box; 777 box-sizing: border-box;
778 -webkit-user-modify: read-only !important; 778 -webkit-user-modify: read-only !important;
779 width: 100%; 779 width: 100%;
780 height: 100% 780 height: 100%
781 } 781 }
782 782
783 input[type="color"]::-webkit-color-swatch-wrapper-rtl {
784 display:flex;
785 padding: 4px 2px;
786 box-sizing: border-box;
787 -webkit-user-modify: read-only !important;
788 width: 100%;
789 height: 100%
790 }
791
783 input[type="color"]::-webkit-color-swatch { 792 input[type="color"]::-webkit-color-swatch {
784 background-color: #000000; 793 background-color: #000000;
785 border: 1px solid #777777; 794 border: 1px solid #777777;
786 flex: 1; 795 flex: 1;
787 -webkit-user-modify: read-only !important; 796 -webkit-user-modify: read-only !important;
788 } 797 }
789 798
790 #if defined(ENABLE_CALENDAR_PICKER) && ENABLE_CALENDAR_PICKER 799 #if defined(ENABLE_CALENDAR_PICKER) && ENABLE_CALENDAR_PICKER
791 input::-webkit-calendar-picker-indicator { 800 input::-webkit-calendar-picker-indicator {
792 display: inline-block; 801 display: inline-block;
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 } 1140 }
1132 1141
1133 /* viewport */ 1142 /* viewport */
1134 1143
1135 @viewport { 1144 @viewport {
1136 min-width: 980px; 1145 min-width: 980px;
1137 } 1146 }
1138 1147
1139 /* noscript is handled internally, as it depends on settings. */ 1148 /* noscript is handled internally, as it depends on settings. */
1140 1149
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/forms/ColorInputType.cpp » ('j') | Source/core/rendering/RenderTheme.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698