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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/html/forms/ColorInputType.cpp » ('j') | Source/core/rendering/RenderTheme.cpp » ('J')
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 335a57ec0fd0d106c9400c60672e4a38a0804227..a89fcd99c8cfa749cd05a1f292787dfe5a89e130 100644
--- a/Source/core/css/html.css
+++ b/Source/core/css/html.css
@@ -780,6 +780,15 @@ input[type="color"]::-webkit-color-swatch-wrapper {
height: 100%
}
+input[type="color"]::-webkit-color-swatch-wrapper-rtl {
+ display:flex;
+ padding: 4px 2px;
+ box-sizing: border-box;
+ -webkit-user-modify: read-only !important;
+ width: 100%;
+ height: 100%
+}
+
input[type="color"]::-webkit-color-swatch {
background-color: #000000;
border: 1px solid #777777;
« 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