Index: third_party/polymer/v1_0/components-chromium/paper-input/paper-input-error.html |
diff --git a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-error.html b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-error.html |
index f32cad3d49f74e7a06e10eaae268ca50cd8c4713..e56c0f96e720e1e9e4302efe3fc07b4ce999a1a0 100644 |
--- a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-error.html |
+++ b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-error.html |
@@ -33,8 +33,8 @@ Custom property | Description | Default |
<style> |
:host { |
- /* need to use display: none for role="alert" */ |
- display: none; |
+ display: inline-block; |
+ visibility: hidden; |
float: left; |
color: var(--paper-input-container-invalid-color, --google-red-500); |
@@ -44,7 +44,7 @@ Custom property | Description | Default |
} |
:host([invalid]) { |
- display: inline-block; |
+ visibility: visible; |
}; |
</style> |