Skip to main content

Bug Tracker

Side navigation

#5911 closed enhancement (worksforme)

Opened January 23, 2010 02:58PM UTC

Closed November 08, 2010 07:25AM UTC

jQuery 1.4 won't load in a non-HTML document

Reported by: wholcomb Owned by:
Priority: minor Milestone: 1.4.1
Component: core Version: 1.4
Keywords: svg Cc:
Blocked by: Blocking:
Description

1.3.2 would load in DOM documents that aren't HTML (specifically SVG). 1.4 added a couple HTML specific assumptions.

I patched these, pushed them on GitHub and received a message requesting a post to the bug tracker.

http://github.com/wholcomb/jquery/commit/56150cabde68df04abc8df4dfba068c5035d260c

http://projects.will.madstones.com/test/external_image.svg

Attachments (0)
Change History (1)

Changed November 08, 2010 07:25AM UTC by addyosmani comment:1

keywords: xmlsvg
resolution: → worksforme
status: newclosed

I've just tested your SVG code with embedded jQuery using 1.4.3 and this is now working fine. As I can't upload the updated test case to jsFiddle due to the test requiring the document be SVG, please see here for the new test case working http://addyosmani.com/temp/test.svg