Ticket #4796 (closed bug: invalid)
Firefox Error: K.style is undefined
| Reported by: | Chaz6 | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4 |
| Component: | unfiled | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
In Mozilla Firefox 3.5 I get the following error and the script does not run. The page uses XHTML 1.1 and Firefox is using standards compliance mode.
Error: K.style is undefined Source File: http://www.chaz6.com/js/jquery.min.js Line: 19
Example page: http://www.chaz6.com/test/chaz6-jquery.xml
Change History
comment:2 Changed 4 years ago by Chaz6
Changing the content-type to application/xhtml+xml seems to fix it, and I also tried using QtWebKit, which exhibits the same behavior.
http://www.chaz6.com/test/chaz6-jquery.xml - broken vs. http://www.chaz6.com/test/chaz6-jquery.xhtml - works
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

I also tried with Firefox 3.0.11 and the error is the same.