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

IE8 Exception Fix #18

Closed
wants to merge 1 commit into from
Closed

IE8 Exception Fix #18

wants to merge 1 commit into from

Conversation

ChadKillingsworth
Copy link

I encountered an issue where IE8 was throwing an exception. Turned out to be related to the "max-width" property returning the value of "none" when it isn't specified.

I can increment a version number and minimize the script, I just don't know which minimizer you use.

… "none" when a max-width style isn't specified.
@lilith
Copy link
Member

lilith commented Dec 5, 2013

When there's no max-width, behavior isn't currently defined. I think this patch will make the image behave as if max-width:100%, which isn't a bad default.

I use Closure compiler on Advanced.

@olemarius
Copy link

Great, this solved the issue for me as well 👍

@lilith
Copy link
Member

lilith commented Mar 4, 2014

Could you modify the pull request to merge into the 'unstable' branch, so I can do the release?

@lilith lilith added the bug label Mar 4, 2014
dancek added a commit to dancek/slimmage that referenced this pull request Nov 12, 2014
lilith added a commit that referenced this pull request Nov 12, 2014
fix behavior when max-width is not defined (replaces #18, fixes #29)
@lilith
Copy link
Member

lilith commented Nov 14, 2014

#36 has been merged, closing this as duplicate.

@lilith lilith closed this Nov 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants