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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 675
676 input[type="radio"], input[type="checkbox"] { 676 input[type="radio"], input[type="checkbox"] {
677 margin: 3px 0.5ex; 677 margin: 3px 0.5ex;
678 padding: initial; 678 padding: initial;
679 background-color: initial; 679 background-color: initial;
680 border: initial; 680 border: initial;
681 } 681 }
682 682
683 input[type="button"], input[type="submit"], input[type="reset"] { 683 input[type="button"], input[type="submit"], input[type="reset"] {
684 -webkit-appearance: push-button; 684 -webkit-appearance: push-button;
685 -webkit-user-select: none;
685 white-space: pre 686 white-space: pre
686 } 687 }
687 688
688 input[type="file"]::-webkit-file-upload-button { 689 input[type="file"]::-webkit-file-upload-button {
689 -webkit-appearance: push-button; 690 -webkit-appearance: push-button;
690 -webkit-user-modify: read-only !important; 691 -webkit-user-modify: read-only !important;
691 white-space: nowrap; 692 white-space: nowrap;
692 margin: 0; 693 margin: 0;
693 font-size: inherit; 694 font-size: inherit;
694 } 695 }
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1123 @page { 1124 @page {
1124 /* FIXME: Define the right default values for page properties. */ 1125 /* FIXME: Define the right default values for page properties. */
1125 size: auto; 1126 size: auto;
1126 margin: auto; 1127 margin: auto;
1127 padding: 0px; 1128 padding: 0px;
1128 border-width: 0px; 1129 border-width: 0px;
1129 } 1130 }
1130 1131
1131 /* noscript is handled internally, as it depends on settings. */ 1132 /* noscript is handled internally, as it depends on settings. */
1132 1133
OLDNEW
« 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