Bug Tracker

Opened 10 years ago

Closed 10 years ago

#12340 closed bug (invalid)

unwrap() fails when wrapper is a figure element

Reported by: brianfreud Owned by: brianfreud
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:


var $foo = $('<img/>');

$foo.wrap('<div></div>'); $foo.unwrap(); works fine

$foo.wrap('<figure></figure>'); $foo.unwrap(); TypeError: Cannot read property 'constructor' of undefined

Using 1.7.2 in Chrome under Ubuntu

Change History (2)

comment:1 Changed 10 years ago by timmywil

Owner: set to brianfreud
Status: newpending

Thanks for taking time to contribute to the jquery project! Please help us assess your ticket by providing a test case from  http://jsfiddle.net or  http://jsbin.com using the git version of jQuery.

comment:2 Changed 10 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.