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

Resp img #1

Open
wants to merge 5 commits into
base: florians-compromise
Choose a base branch
from
Open

Resp img #1

wants to merge 5 commits into from

Conversation

attiks
Copy link

@attiks attiks commented Jul 26, 2012

Ignore the first 2 commits, it's just white space

Third commit (https://github.com/attiks/picturefill-proposal/commit/a044619643cb8216cf43f66c0c3896656cc9e1ed) fixes a problem with IE9 and Opera if there wasn't a width set on the img element, it got cloned as width="0"

Fourth commit (https://github.com/attiks/picturefill-proposal/commit/b0ddaf21c8ab2ba2418ab78dade165a5b23363e2) copies some attributes to the newly created img tag: width, height, class, title and alt.
width and height for retina displays
class so it's easy to theme
alt is probably going away
title no idea yet

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.

1 participant