Bug Tracker

Opened 10 years ago

Closed 9 years ago

#5911 closed enhancement (worksforme)

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

Change History (1)

comment:1 Changed 9 years ago by addyosmani

Keywords: svg added; xml removed
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

Note: See TracTickets for help on using tickets.