| Index: third_party/polymer/v1_0/components-chromium/iron-image/iron-image-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/iron-image/iron-image-extracted.js b/third_party/polymer/v1_0/components-chromium/iron-image/iron-image-extracted.js
|
| index c9db9e191e583ffce19e32db7850ade02f5c29bc..9dc432e5cb8b893b2eab942f6ec53e2cc93dac31 100644
|
| --- a/third_party/polymer/v1_0/components-chromium/iron-image/iron-image-extracted.js
|
| +++ b/third_party/polymer/v1_0/components-chromium/iron-image/iron-image-extracted.js
|
| @@ -7,10 +7,6 @@
|
| properties: {
|
| /**
|
| * The URL of an image.
|
| - *
|
| - * @attribute src
|
| - * @type string
|
| - * @default ''
|
| */
|
| src: {
|
| observer: '_srcChanged',
|
| @@ -22,10 +18,6 @@
|
| * When true, the image is prevented from loading and any placeholder is
|
| * shown. This may be useful when a binding to the src property is known to
|
| * be invalid, to prevent 404 requests.
|
| - *
|
| - * @attribute preventLoad
|
| - * @type boolean
|
| - * @default false
|
| */
|
| preventLoad: {
|
| type: Boolean,
|
| @@ -37,10 +29,6 @@
|
| * aspect ratio of the image is contained within the element and
|
| * letterboxed) or `cover` (image is cropped in order to fully cover the
|
| * bounds of the element), or `null` (default: image takes natural size).
|
| - *
|
| - * @attribute sizing
|
| - * @type string
|
| - * @default null
|
| */
|
| sizing: {
|
| type: String,
|
| @@ -50,10 +38,6 @@
|
| /**
|
| * When a sizing option is uzed (`cover` or `contain`), this determines
|
| * how the image is aligned within the element bounds.
|
| - *
|
| - * @attribute position
|
| - * @type string
|
| - * @default 'center'
|
| */
|
| position: {
|
| type: String,
|
| @@ -63,10 +47,6 @@
|
| /**
|
| * When `true`, any change to the `src` property will cause the `placeholder`
|
| * image to be shown until the
|
| - *
|
| - * @attribute preload
|
| - * @type boolean
|
| - * @default false
|
| */
|
| preload: {
|
| type: Boolean,
|
| @@ -76,10 +56,6 @@
|
| /**
|
| * This image will be used as a background/placeholder until the src image has
|
| * loaded. Use of a data-URI for placeholder is encouraged for instant rendering.
|
| - *
|
| - * @attribute placeholder
|
| - * @type string
|
| - * @default null
|
| */
|
| placeholder: {
|
| type: String,
|
| @@ -89,10 +65,6 @@
|
| /**
|
| * When `preload` is true, setting `fade` to true will cause the image to
|
| * fade into place.
|
| - *
|
| - * @attribute fade
|
| - * @type boolean
|
| - * @default false
|
| */
|
| fade: {
|
| type: Boolean,
|
| @@ -101,10 +73,6 @@
|
|
|
| /**
|
| * Read-only value that is true when the image is loaded.
|
| - *
|
| - * @attribute preloaded
|
| - * @type boolean
|
| - * @default false
|
| */
|
| loaded: {
|
| notify: true,
|
| @@ -115,10 +83,6 @@
|
| /**
|
| * Read-only value that tracks the loading state of the image when the `preload`
|
| * option is used.
|
| - *
|
| - * @attribute loading
|
| - * @type boolean
|
| - * @default false
|
| */
|
| loading: {
|
| notify: true,
|
| @@ -129,10 +93,6 @@
|
| /**
|
| * Can be used to set the width of image (e.g. via binding); size may also be
|
| * set via CSS.
|
| - *
|
| - * @attribute width
|
| - * @type number
|
| - * @default null
|
| */
|
| width: {
|
| observer: '_widthChanged',
|
| @@ -247,11 +207,11 @@
|
|
|
| this.style.backgroundPosition =
|
| placeholderStyle.backgroundPosition =
|
| - this.sizing ? this.position : null;
|
| + this.sizing ? this.position : '';
|
|
|
| this.style.backgroundRepeat =
|
| placeholderStyle.backgroundRepeat =
|
| - this.sizing ? 'no-repeat' : null;
|
| + this.sizing ? 'no-repeat' : '';
|
| },
|
|
|
| _loadBehaviorChanged: function() {
|
|
|