| Index: third_party/polymer/v1_0/components/iron-icon/iron-icon.html
|
| diff --git a/third_party/polymer/v1_0/components/iron-icon/iron-icon.html b/third_party/polymer/v1_0/components/iron-icon/iron-icon.html
|
| index ea9778ada32f355c64467314b8d44f9e4615ea8e..bdb55c7dbb8aead00af6f64dae9acdf527055131 100644
|
| --- a/third_party/polymer/v1_0/components/iron-icon/iron-icon.html
|
| +++ b/third_party/polymer/v1_0/components/iron-icon/iron-icon.html
|
| @@ -24,10 +24,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>
|
|
|
| @@ -56,7 +56,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
|
| @@ -75,13 +75,6 @@ Custom property | Description | Default
|
| @homepage polymer.github.io
|
| -->
|
|
|
| -<style is="custom-style">
|
| - :root {
|
| - --iron-icon-width: 24px;
|
| - --iron-icon-height: 24px;
|
| - }
|
| -</style>
|
| -
|
| <dom-module id="iron-icon">
|
|
|
| <style>
|
| @@ -94,8 +87,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>
|
|
|
| @@ -184,4 +177,3 @@ Custom property | Description | Default
|
| </script>
|
|
|
| </dom-module>
|
| -
|
|
|