Bug Tracker

Modify

Ticket #3900 (closed bug: duplicate)

Opened 4 years ago

Last modified 14 months ago

jQuery 1.3 using content type application/xhtml+xml in Firefox doesn't work

Reported by: dark_ixion Owned by:
Priority: major Milestone: 1.3
Component: unfiled Version: 1.3
Keywords: xhtml, xhtml+xml, mime, firefox, content-type Cc:
Blocking: Blocked by:

Description

If I'm using jQuery 1.3 with a page with a content type of application/xhtml+xml in Firefox, jQuery's functions do not work.

Test cases:

WORKING - jQuery 1.3 with a content type of application/xhtml+xml:

 http://killingcupid.avengedsevenfold.co.uk/jquery_1.php

NOT WORKING - jQuery 1.3 with a content type of text/html:

 http://killingcupid.avengedsevenfold.co.uk/jquery_2.php

WORKING - jQuery 1.2.6 with a content type of application/xhtml+xml:

 http://killingcupid.avengedsevenfold.co.uk/jquery_3.php

This works okay in Safari and Opera. I don't need to test this in Internet Explorer as it doesn't support that MIME type anyway (so I serve them the incorrect text/html one).

I don't get this problem in Firefox with jQuery 1.2.6.

Change History

comment:1 Changed 4 years ago by dark_ixion

Sorry, that should have read:

Test cases:

NOT WORKING - jQuery 1.3 with a content type of application/xhtml+xml:

 http://killingcupid.avengedsevenfold.co.uk/jquery_1.php

WORKING - jQuery 1.3 with a content type of text/html:

 http://killingcupid.avengedsevenfold.co.uk/jquery_2.php

WORKING - jQuery 1.2.6 with a content type of application/xhtml+xml:

 http://killingcupid.avengedsevenfold.co.uk/jquery_3.php

And I should have mentioned this is in Firefox 3.0.5.

comment:2 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to duplicate

This is a duplicate of #3896, I've linked it from there since this ticket provides several useful test cases. Thanks!

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.