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

Unified Diff: third_party/polymer/v1_0/components-chromium/iron-collapse/iron-collapse.html

Issue 2158913007: Roll Polymer from 1.5.0 -> 1.6.0 to pick up native CSS custom props (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 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/iron-collapse/iron-collapse.html
diff --git a/third_party/polymer/v1_0/components-chromium/iron-collapse/iron-collapse.html b/third_party/polymer/v1_0/components-chromium/iron-collapse/iron-collapse.html
index 0b2e4ac938a5ece535a70d5fb7db4ebb5261f43d..bd71fdba7b7afae6c9c632b222bd20a80ac55100 100644
--- a/third_party/polymer/v1_0/components-chromium/iron-collapse/iron-collapse.html
+++ b/third_party/polymer/v1_0/components-chromium/iron-collapse/iron-collapse.html
@@ -42,6 +42,14 @@ and instead put a div inside and style that.
</div>
</iron-collapse>
+### Styling
+
+The following custom properties and mixins are available for styling:
+
+Custom property | Description | Default
+----------------|-------------|----------
+`--iron-collapse-transition-duration` | Animation transition duration | `300ms`
+
@group Iron Elements
@hero hero.svg
@demo demo/index.html
@@ -55,7 +63,7 @@ and instead put a div inside and style that.
<style>
:host {
display: block;
- transition-duration: 300ms;
+ transition-duration: var(--iron-collapse-transition-duration, 300ms);
overflow: visible;
}

Powered by Google App Engine
This is Rietveld 408576698