Skip to main content

Bug Tracker

Side navigation

#4726 closed bug (worksforme)

Opened June 04, 2009 11:47AM UTC

Closed August 11, 2010 01:22AM UTC

el.wrap('<element1><element2></element2></element1>') only wraps <element1> in IE7

Reported by: rossbruniges Owned by:
Priority: minor Milestone:
Component: manipulation Version: 1.3.1
Keywords: Cc:
Blocked by: Blocking:
Description

Hope the summary is descriptive enough.

Trying to wrap multiple elements around a node fails ie IE7 by only wrapping the first in the list.

Work around was to use wrap twice (and maybe this is the expected usage) but it did cause me about an hour of head-scratching - works FF, Safari, Opera.

Attachments (1)
  • test-4726.html (0.5 KB) - added by dmethvin August 11, 2010 01:21AM UTC.
Change History (2)

Changed June 16, 2010 03:21AM UTC by dmethvin comment:1

component: coremanipulation

Changed August 11, 2010 01:22AM UTC by dmethvin comment:2

resolution: → worksforme
status: newclosed

Works for me, see attachment. Perhaps you were trying to create invalid html, such as wrapping block elements in a paragraph?