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

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

Issue 103763002: Do not make a subclass of Text only to disable selection. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove #include RenderTextFragment.h Created 7 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 bd8fdf3527da6d9855c1c504aecb7af52693e83c..5237586dd1225f650bd3745f420939a1d28c4620 100644
--- a/Source/core/css/html.css
+++ b/Source/core/css/html.css
@@ -682,6 +682,7 @@ input[type="radio"], input[type="checkbox"] {
input[type="button"], input[type="submit"], input[type="reset"] {
-webkit-appearance: push-button;
+ -webkit-user-select: none;
white-space: pre
}
« no previous file with comments | « LayoutTests/platform/mac/editing/selection/selection-button-text-expected.png ('k') | Source/core/dom/Text.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698