Skip to main content

Bug Tracker

Side navigation

#3210 closed bug (invalid)

Opened August 01, 2008 09:13AM UTC

Closed January 07, 2009 03:00AM UTC

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 August 01, 2008 09:14AM UTC.

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

Change History (5)

Changed August 01, 2008 09:25AM UTC by kevin.peno comment:1

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.

Changed August 01, 2008 09:30AM UTC by kevin.peno comment:2

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.

Changed August 01, 2008 02:54PM UTC by flesler comment:3

resolution: → invalid
status: newclosed

Changed August 01, 2008 05:00PM UTC by kevin.peno comment:4

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,

Changed January 07, 2009 03:00AM UTC by dmethvin comment:5

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