Index: third_party/polymer/v1_0/components/paper-input/paper-input-error.html |
diff --git a/third_party/polymer/v1_0/components/paper-input/paper-input-error.html b/third_party/polymer/v1_0/components/paper-input/paper-input-error.html |
index c034e9624cdc188ee1159a439fcd31cc70063aac..f23c49c1b05a111819447357bb24297ff10953de 100644 |
--- a/third_party/polymer/v1_0/components/paper-input/paper-input-error.html |
+++ b/third_party/polymer/v1_0/components/paper-input/paper-input-error.html |
@@ -35,8 +35,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); |
@@ -46,7 +46,7 @@ Custom property | Description | Default |
} |
:host([invalid]) { |
- display: inline-block; |
+ visibility: visible; |
}; |
</style> |
@@ -71,10 +71,6 @@ Custom property | Description | Default |
Polymer.PaperInputAddonBehavior |
], |
- hostAttributes: { |
- 'role': 'alert' |
- }, |
- |
properties: { |
/** |