Bug Tracker

Modify

Ticket #3864 (closed bug: fixed)

Opened 4 years ago

Last modified 14 months ago

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:
Blocking: Blocked by:

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

comment:1 Changed 4 years ago by john

  • need changed from Review to Patch
  • Owner set to john
  • Version set to 1.3
  • Component changed from unfilled to core
  • Milestone changed from 1.3 to 1.3.1

comment:2 Changed 4 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 4 years ago by pckilla

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

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

comment:4 Changed 4 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 4 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.