Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sizing attribute broken when using custom property apis #96

Open
1 of 8 tasks
dman777 opened this issue Sep 28, 2016 · 1 comment
Open
1 of 8 tasks

sizing attribute broken when using custom property apis #96

dman777 opened this issue Sep 28, 2016 · 1 comment

Comments

@dman777
Copy link

dman777 commented Sep 28, 2016

Description

The attribute sizing will be broken if --iron-image-width and --iron-image-height are used instead of width and height html attributes.

Note: this is with using placeholder="data:image/jpeg;base64,... base64 image

Expected outcome

Image will show with sizing="cover", --iron-image-width, and --iron-image-height

Actual outcome

Image does not show at all and image element takes no space on doc flow.

Live Demo

Steps to reproduce

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
@Splaktar
Copy link

With "version": "1.2.3" I'm not able to get data URLs to work at all on Chrome 56. It seems like when it adds it via a background-image style using a url(data:image/jpeg;base64,...) it is leaving off the data:image/ part of the URL. It looked something like url(jpeg;base64,...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants