Modify ↓
Ticket #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: | |
| Blocking: | Blocked by: |
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
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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