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

Unified Diff: third_party/polymer/v1_0/components-chromium/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-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>

Powered by Google App Engine
This is Rietveld 408576698