Skip to main content

Bug Tracker

Side navigation

#3864 closed bug (fixed)

Opened January 15, 2009 08:29AM UTC

Closed January 20, 2009 03:47PM UTC

Last modified March 14, 2012 10:58PM UTC

Error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7 jquery-1.3.js (line 4095)

Reported by: pckilla Owned by: john
Priority: major Milestone: 1.3.1
Component: core Version: 1.3
Keywords: Cc:
Blocked by: Blocking:
Description

Safari throws NO_MODIFICATION_ALLOWED_ERR error when using xhtml because html at line 4090:

html = '<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"cellpadding="0"cellspacing="0"><tr><td></td></tr></table>';

Attachments (0)
Change History (5)

Changed January 15, 2009 01:42PM UTC by john comment:1

component: unfilledcore
milestone: 1.31.3.1
need: ReviewPatch
owner: → john
version: → 1.3

Changed January 19, 2009 10:47PM UTC by john comment:2

What version of Safari are you seeing this in? I can't duplicate this. Do you have a simple page which is able to show the problem?

Changed January 20, 2009 08:49AM UTC by pckilla comment:3

I'm using Safari 4.0 (5528.1) and this triggers that error:

$('#element').offset();
 

Changed January 20, 2009 09:17AM UTC by pckilla comment:4

Tested a little bit more and

<table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"cellpadding="0"cellspacing="0">

should be

<table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0">

Just spaces missing between attributes.

Changed January 20, 2009 03:47PM UTC by john comment:5

resolution: → fixed
status: newclosed

Excellent - thank you! Fixed in SVN rev [6139].