Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#3864 closed bug (fixed)

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>';

Change History (5)

comment:1 Changed 11 years ago by john

Component: unfilledcore
Milestone: 1.31.3.1
need: ReviewPatch
Owner: set to john
Version: 1.3

comment:2 Changed 11 years ago by john

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?

comment:3 Changed 11 years ago by pckilla

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

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

comment:4 Changed 11 years ago by pckilla

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.

comment:5 Changed 11 years ago by john

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.