Bug Tracker

Modify

Ticket #5911 (closed enhancement: worksforme)

Opened 2 years ago

Last modified 15 months ago

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

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

Change History

comment:1 Changed 15 months ago by addyosmani

  • Keywords svg added; xml removed
  • Status changed from new to closed
  • Resolution set to worksforme

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.