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

Unified Diff: third_party/polymer/v1_0/components-chromium/iron-icon/iron-icon.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-icon/iron-icon.html
diff --git a/third_party/polymer/v1_0/components-chromium/iron-icon/iron-icon.html b/third_party/polymer/v1_0/components-chromium/iron-icon/iron-icon.html
index e395853c58e9707ab5082454dfeb355d3bab05cb..c7a29ff4ce2476adf338f0a89575f517cfb5ebbc 100644
--- a/third_party/polymer/v1_0/components-chromium/iron-icon/iron-icon.html
+++ b/third_party/polymer/v1_0/components-chromium/iron-icon/iron-icon.html
@@ -80,24 +80,22 @@ Custom property | Description | Default
-->
</head><body><dom-module id="iron-icon">
+ <template>
+ <style>
+ :host {
+ @apply(--layout-inline);
+ @apply(--layout-center-center);
+ position: relative;
- <style>
- :host {
- @apply(--layout-inline);
- @apply(--layout-center-center);
- position: relative;
-
- vertical-align: middle;
-
- fill: var(--iron-icon-fill-color, currentcolor);
- stroke: var(--iron-icon-stroke-color, none);
+ vertical-align: middle;
- width: var(--iron-icon-width, 24px);
- height: var(--iron-icon-height, 24px);
- }
- </style>
+ fill: var(--iron-icon-fill-color, currentcolor);
+ stroke: var(--iron-icon-stroke-color, none);
- <template>
+ width: var(--iron-icon-width, 24px);
+ height: var(--iron-icon-height, 24px);
+ }
+ </style>
</template>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698