Skip to content

Bugfix ie11 srcset #58

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

Merged
merged 2 commits into from
Jul 27, 2019
Merged

Bugfix ie11 srcset #58

merged 2 commits into from
Jul 27, 2019

Conversation

rkumorek
Copy link
Contributor

@rkumorek rkumorek commented Jul 3, 2019

Hey,

We've noticed recently on IE11 that line element[dataAttr] = element.dataset[dataAttr] sets srcset property on the element but it is not added as an attribute in DOM. This in turn doesn't allow us to use things like picturefill.

I can imagine the issue lies in IE11 not supporting srcset.

I am not sure if you're willing to go back to using setAttribute but to fully support IE11 I think it would be nice to be able to use srcset.

Thanks

@z3niths
Copy link

z3niths commented Jul 25, 2019

+1

@izharikov
Copy link

The same bug in Safari 9.1 (OS X El Capitan).

@malchata
Copy link
Owner

Hey, sorry for delay @rkumorek. Been juggling a few things over here as of late. 🤡

If you could rebase your work on top of what is currently in master, I can review and merge this change if it doesn't cause any issues.

@rkumorek
Copy link
Contributor Author

Hey @malchata,

I have rebased my branch on top of master and I hope it is all correct (my first contribution).
Any issues I am happy to address.

Thanks

@malchata
Copy link
Owner

I need to tweak a few things post-merge, but this otherwise looks good!

@malchata malchata merged commit e77b4f5 into malchata:master Jul 27, 2019
malchata added a commit that referenced this pull request Jul 27, 2019
- Pulled in #58 (thank you @rkumorek).
- Tweaked build pipeline.
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

Successfully merging this pull request may close these issues.

4 participants