Bug Tracker

Ticket #6910 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

RFE: Split generic jQuery code and HTML-specific

Reported by: pekarna Owned by:
Priority: Milestone: 1.4.3
Component: core Version: 1.4.2
Keywords: Cc: ozizka@…
Blocking: Blocked by:

Description

Hi,

it would be nice to split jQuery to a generic lib containing algorithms like animation, DOM nodes selection / traversing etc, and code which relies on HTML-specific bits like 1.4.2's

div = document.createElement("div"),

which breaks usability inside SVG - see ticket #6007.

Change History

comment:1 Changed 4 years ago by dmethvin

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

Since there are no other problems called out here and the one problem is already reported in #6007, I'll mark this as a duplicate.

Since I don't think there aren't a lot of these cases in the first place (and most in the jQuery.support code), it's more likely they'd be fixed by auto-detecting the situation or setting a flag to skip the problematic initialization.

If you'd like to pursue this further, it's probably best to post some further suggestions about how to accomplish it in the "Developing jQuery Core" section at  http://forum.jquery.com .

Note: See TracTickets for help on using tickets.