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

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

Issue 1365853003: LayoutBox::scrollRectToVisible doesn't respect overflow:hidden property. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Worked on review comments Created 5 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
Index: third_party/WebKit/Source/core/css/html.css
diff --git a/third_party/WebKit/Source/core/css/html.css b/third_party/WebKit/Source/core/css/html.css
index 4b56f08e4189d7a5440d504fcb7298f8945ea67a..4c5c11828ea6c4f02e7b432e9dd7a45a9339019d 100644
--- a/third_party/WebKit/Source/core/css/html.css
+++ b/third_party/WebKit/Source/core/css/html.css
@@ -526,6 +526,17 @@ textarea {
word-wrap: break-word;
}
+input:not([type])::-webkit-scrollbar,
+input[type="email"]::-webkit-scrollbar,
+input[type="number"]::-webkit-scrollbar,
+input[type="password"]::-webkit-scrollbar,
+input[type="search"]::-webkit-scrollbar,
+input[type="telephone"]::-webkit-scrollbar,
+input[type="text"]::-webkit-scrollbar,
+input[type="url"]::-webkit-scrollbar {
+ display:none;
+}
+
::-webkit-input-placeholder {
-webkit-text-security: none;
color: darkGray;
@@ -971,19 +982,19 @@ nobr {
/* states */
-:focus {
+:focus {
outline: auto 5px -webkit-focus-ring-color
}
/* Read-only text fields do not show a focus ring but do still receive focus */
-html:focus, body:focus, input[readonly]:focus {
+html:focus, body:focus, input[readonly]:focus {
outline: none
}
embed:focus, iframe:focus, object:focus {
outline: none
}
-
+
input:focus, textarea:focus, keygen:focus, select:focus {
outline-offset: -2px
}
@@ -1000,7 +1011,7 @@ input[type="submit" i]:focus,
input[type="file" i]:focus::-webkit-file-upload-button {
outline-offset: 0
}
-
+
a:-webkit-any-link {
color: -webkit-link;
text-decoration: underline;

Powered by Google App Engine
This is Rietveld 408576698