Bug Tracker

Opened 5 years ago

Closed 5 years ago

#6910 closed bug (duplicate)

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@…
Blocked by: Blocking:

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 (1)

comment:1 Changed 5 years ago by dmethvin

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

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.