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

Support relative <img src=> URLs. #36

Merged
merged 1 commit into from Jan 3, 2014
Merged

Support relative <img src=> URLs. #36

merged 1 commit into from Jan 3, 2014

Commits on Nov 22, 2013

  1. Support relative <img src=> URLs.

    img.src is an absolute URL. jsdom's img.src getter produces this URL by
    resolving the <img src=> attribute value relative to the document's URL --
    which is bogus unless we explicitly pass a correct URL to jsdom.env() to
    start with.
    jorendorff committed Nov 22, 2013
    Copy the full SHA
    4e5d0b6 View commit details
    Browse the repository at this point in the history