/* // Copyright 2024 The Lynx Authors. All rights reserved. // Licensed under the Apache License Version 2.0 that can be found in the // LICENSE file in the root directory of this source tree. */ x-textarea { display: contents; font-size: 14px; } x-textarea::part(form) { display: contents; } x-textarea::part(textarea), x-textarea::part(form) { width: inherit; height: inherit; font-family: inherit; font-size: inherit; line-height: inherit; flex: inherit; border: inherit; padding: inherit; margin: inherit; caret-color: inherit; direction: inherit; font: inherit; letter-spacing: inherit; text-align: inherit; outline: inherit; background-color: inherit; color: inherit; } x-textarea::part(textarea) { --placeholder-color: grey; --placeholder-font-weight: normal; --placeholder-font-family: inherit; resize: none; } x-textarea::part(textarea)::placeholder { color: var(--placeholder-color); font-size: var(--placeholder-font-size, inherit); font-weight: var(--placeholder-font-weight); font-family: var(--placeholder-font-family); }