Modify ↓
Ticket #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@… | |
| 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
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.

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 .