Skip to main content

Bug Tracker

Side navigation

#7172 closed bug (duplicate)

Opened October 13, 2010 09:53AM UTC

Closed October 13, 2010 07:08PM UTC

Last modified October 13, 2010 07:08PM UTC

base url added when cloning anchor tags in IE7

Reported by: steve@stevecheng.com Owned by:
Priority: undecided Milestone: 1.4.3
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

I cloned an element which contains an anchor tag with a relative value in the href attribute. In Firefox, this cloned correctly however in IE7 it added the base url creating the anchor tag in the cloned element with an absolute url.

Steve

Attachments (0)
Change History (3)

Changed October 13, 2010 10:01AM UTC by anonymous comment:1

Also happens in IE6. Example here:

http://jsfiddle.net/malibu/R6RTd/1/

Changed October 13, 2010 07:08PM UTC by snover comment:2

resolution: → duplicate
status: newclosed

Unfortunately this is a bug in the IE parser that we cannot work around. If you want to set an href of an element in IE<8 that does not end up absolutized, you must use the .attr function.

Changed October 13, 2010 07:08PM UTC by snover comment:3

Duplicate of #7117.