Open Splaktar opened 7 years ago
The docs for iron-image's position property define a default value of center but they don't define what other values are valid.
center
Relevant code: https://github.com/PolymerElements/iron-image/blob/d0699b5adf7a60d5d294c07d8765e3a3c5781b8c/iron-image.html#L178
Similar to the docs for iron-image's sizing property it should list the valid values.
center appears to be the only valid value of this property. Searching the code and repository doesn't turn up anything helpful.
https://elements.polymer-project.org/elements/iron-image#property-position
+1 this sort of thing is quite irritating
For the record, it seems to be a background-position:
https://developer.mozilla.org/en-US/docs/Web/CSS/background-position
Description
The docs for iron-image's position property define a default value of
center
but they don't define what other values are valid.Relevant code: https://github.com/PolymerElements/iron-image/blob/d0699b5adf7a60d5d294c07d8765e3a3c5781b8c/iron-image.html#L178
Expected outcome
Similar to the docs for iron-image's sizing property it should list the valid values.
Actual outcome
center
appears to be the only valid value of this property. Searching the code and repository doesn't turn up anything helpful.Live Demo
https://elements.polymer-project.org/elements/iron-image#property-position