Ticket #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: | |
| Blocking: | Blocked by: |
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
Change History
Changed 5 years ago by kevin.peno
-
attachment
jquery-bug.zip
added
comment:1 Changed 5 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 5 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 5 years ago by flesler
- Status changed from new to closed
- Resolution set to invalid
comment:4 Changed 5 years ago by kevin.peno
- Status changed from closed to reopened
- Resolution invalid deleted
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,
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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