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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/textPrompt.css

Issue 2615933002: DevTools: Don't show blank placeholder in TextPrompt (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2015 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 .text-prompt-editing { 7 .text-prompt-editing {
8 -webkit-user-select: text; 8 -webkit-user-select: text;
9 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 9 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2),
10 0 2px 4px rgba(0, 0, 0, 0.2), 10 0 2px 4px rgba(0, 0, 0, 0.2),
(...skipping 17 matching lines...) Expand all
28 -webkit-user-modify: read-write-plaintext-only; 28 -webkit-user-modify: read-write-plaintext-only;
29 white-space: pre; 29 white-space: pre;
30 } 30 }
31 31
32 ::content .auto-complete-text { 32 ::content .auto-complete-text {
33 color: rgb(128, 128, 128) !important; 33 color: rgb(128, 128, 128) !important;
34 -webkit-user-select: none; 34 -webkit-user-select: none;
35 -webkit-user-modify: read-only; 35 -webkit-user-modify: read-only;
36 } 36 }
37 37
38 ::content .text-prompt:empty::before { 38 ::content .text-prompt[data-placeholder]:empty::before {
39 content: attr(data-placeholder); 39 content: attr(data-placeholder);
40 color: rgb(128, 128, 128); 40 color: rgb(128, 128, 128);
41 } 41 }
42 42
43 .text-prompt-editing ::content br { 43 .text-prompt-editing ::content br {
44 display: none; 44 display: none;
45 } 45 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698