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

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

Issue 2709613014: DevTools: Fix empty TextPrompt with placeholder having two lines (Closed)
Patch Set: merge Created 3 years, 9 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 | « no previous file | 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-root { 7 .text-prompt-root {
8 display: flex; 8 display: flex;
9 align-items: center; 9 align-items: center;
10 } 10 }
(...skipping 27 matching lines...) Expand all
38 color: rgb(128, 128, 128) !important; 38 color: rgb(128, 128, 128) !important;
39 -webkit-user-select: none; 39 -webkit-user-select: none;
40 -webkit-user-modify: read-only; 40 -webkit-user-modify: read-only;
41 } 41 }
42 42
43 ::content .text-prompt[data-placeholder]:empty::before { 43 ::content .text-prompt[data-placeholder]:empty::before {
44 content: attr(data-placeholder); 44 content: attr(data-placeholder);
45 color: rgb(128, 128, 128); 45 color: rgb(128, 128, 128);
46 } 46 }
47 47
48 ::content .text-prompt:empty::after { 48 ::content .text-prompt:not([data-placeholder]):empty::after {
49 content: '\00A0'; 49 content: '\00A0';
50 width: 0; 50 width: 0;
51 display: block; 51 display: block;
52 } 52 }
53 53
54 .text-prompt-editing ::content br { 54 .text-prompt-editing ::content br {
55 display: none; 55 display: none;
56 } 56 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698