| OLD | NEW |
| 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 Loading... |
| 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 { |
| 49 content: '\00A0'; |
| 50 width: 0; |
| 51 display: block; |
| 52 } |
| 53 |
| 48 .text-prompt-editing ::content br { | 54 .text-prompt-editing ::content br { |
| 49 display: none; | 55 display: none; |
| 50 } | 56 } |
| OLD | NEW |