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

Unified Diff: third_party/polymer/v1_0/components/paper-input/paper-input-error.html

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
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: {
/**

Powered by Google App Engine
This is Rietveld 408576698