| 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 5cb1c4edd63fce87ef042253f7bcf3627c4d95bd..1f70668abb1c86182f2eb960f053900e01fc9dcf 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
|
| @@ -22,10 +22,10 @@ Example setting size to 32px x 32px:
|
|
|
| <iron-icon class="big" src="big_star.png"></iron-icon>
|
|
|
| - <style>
|
| + <style is="custom-style">
|
| .big {
|
| - height: 32px;
|
| - width: 32px;
|
| + --iron-icon-height: 32px;
|
| + --iron-icon-width: 32px;
|
| }
|
| </style>
|
|
|
| @@ -54,7 +54,7 @@ Example of using an icon named `cherry` from a custom iconset with the ID `fruit
|
| See [iron-iconset](#iron-iconset) and [iron-iconset-svg](#iron-iconset-svg) for more information about
|
| how to create a custom iconset.
|
|
|
| -See [iron-icons](http://www.polymer-project.org/components/iron-icons/demo.html) for the default set of icons.
|
| +See [iron-icons](https://elements.polymer-project.org/elements/iron-icons?view=demo:demo/index.html) for the default set of icons.
|
|
|
|
|
| ### Styling
|
| @@ -73,13 +73,6 @@ Custom property | Description | Default
|
| @homepage polymer.github.io
|
| -->
|
|
|
| -<style is="custom-style">
|
| - :root {
|
| - --iron-icon-width: 24px;
|
| - --iron-icon-height: 24px;
|
| - }
|
| -</style>
|
| -
|
| </head><body><dom-module id="iron-icon">
|
|
|
| <style>
|
| @@ -92,8 +85,8 @@ Custom property | Description | Default
|
|
|
| fill: currentcolor;
|
|
|
| - width: var(--iron-icon-width);
|
| - height: var(--iron-icon-height);
|
| + width: var(--iron-icon-width, 24px);
|
| + height: var(--iron-icon-height, 24px);
|
| }
|
| </style>
|
|
|
| @@ -102,5 +95,4 @@ Custom property | Description | Default
|
| </template>
|
|
|
| </dom-module>
|
| -
|
| <script src="iron-icon-extracted.js"></script></body></html>
|
|
|