Bug Tracker

Opened 11 years ago

Closed 11 years ago

#3210 closed bug (invalid)

jQuery items calling curCSS fail when using xml+xsl

Reported by: kevin.peno Owned by:
Priority: undecided Milestone: 1.3
Component: core Version: 1.2.6
Keywords: xml xsl jqueryui Cc:
Blocked by: Blocking:

Description

I've been trying to use UI.resizable and draggable for a bit now, but for a few months have hit a wall with error below. I've attached the files I'm working with, but all signs point to improper calling via core's curCSS when used with XML documents parsed with xsl browser-side.

Log from Firefox for a draggable usage:

(no name)()jquery.js (line 828)
curCSS(div#window-1.window, "position", undefined)jquery.js (line 828)
curCSS(div#window-1.window, "marginLeft", undefined)jquery.js (line 828)
curCSS(div#window-1.window, "marginTop", undefined)jquery.js (line 828)
curCSS(div#window-1.window, "position", undefined)jquery.js (line 828)
curCSS(div#window-1.window, "position", undefined)jquery.js (line 828)
curCSS(div#desktop, "display", undefined)jquery.js (line 828)
curCSS(div#desktop, "overflow", undefined)jquery.js (line 828)
curCSS(div#desktop, "borderLeftWidth", true)jquery.js (line 828)
curCSS(div#desktop, "borderTopWidth", true)jquery.js (line 828)
curCSS(div#window-1.window, "position", undefined)jquery.js (line 828)
curCSS(Document index.xml, "position", undefined)jquery.js (line 828)
[Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://192.168.1.10/alliedhacker.com/clients/browser/system/jquery/jquery.js :: anonymous :: line 871" data: no]
[Break on this error] var computedStyle = defaultView.getComputedStyle( elem, null );
jquery.js (line 871)

Attachments (1)

jquery-bug.zip (46.5 KB) - added by kevin.peno 11 years ago.
compiled set of files for bug (more than necessary I'm sure)

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by kevin.peno

Attachment: jquery-bug.zip added

compiled set of files for bug (more than necessary I'm sure)

comment:1 Changed 11 years ago by kevin.peno

P.S. When loading up the app (by calling index.xml), click the "test window" link at the bottom left. This will open a "draggable" window that causes the issue. Additionally, I get no error in IE7, but that isn't surprising.

comment:2 Changed 11 years ago by kevin.peno

Re-verified IE7 and this issue does not exist. Draggable and resizable work as expected. I forgot that I had commented out the draggable code to try a few things in FF3 and FF3.

comment:3 Changed 11 years ago by flesler

Resolution: invalid
Status: newclosed

comment:4 Changed 11 years ago by kevin.peno

Resolution: invalid
Status: closedreopened

Hi,

I realized that I wasn't clear on the affected browsers. FF2 and FF3 are still affected by this bug. I hope that it wasn't closed because I said it was working in IE7. There is indeed n error in filefox browsers at minimum related to this issue.

Thanks,

comment:5 Changed 11 years ago by dmethvin

Resolution: invalid
Status: reopenedclosed

If this is still a problem, you should file it with the jQuery UI bug tracker.

http://ui.jquery.com/bugs

Note: See TracTickets for help on using tickets.