Side navigation
#170 closed bug (fixed)
Opened September 02, 2006 09:27AM UTC
Closed October 11, 2006 04:09AM UTC
Last modified June 19, 2007 07:44AM UTC
Hyphens in CSS, IE6
Reported by: | john | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | core | Version: | 1.0a |
Keywords: | Hyphens, css, z-index, ie6 | Cc: | |
Blocked by: | Blocking: |
Description
In the last year I’ve been fascinated in the progression of Javascript tools and was just about to explore basic use of Prototype when I found JQuery.
Since then I’ve done a few basic tests in my own environment and would like to report on some issues I seem to have identified. I haven’t posted them on the forum because I’m pretty busy and don’t have time to revisit and also I don’t have all that much confidence to relate to guys that are clearly at the top.
This is what I have discovered in my own environment (XP/IE7) using Jscript in the way shown in the appended file.
Using the latest version of jscript, which I downloaded, I cannot apply CSS property-value combinations if there is a hyphen in the property. Thus “fontâ€,â€14px Red†will work but not “font-sizeâ€, “14pxâ€
Also, I cannot apply the value “inheritâ€.
In the previous version of Jscript using (<script type="text/javascript" src="http://jquery.com/src/latest/"></script>) hyphenated properties would work but not non-hyphenated properties. Also “inherit†would work in that version.
I've also noticed that CSS properties are not being recognized in the .css() method in IE6, though DOM style keys are being accepted. Example: zIndex works, z-index does not. As usual, this bug does not appear in Firefox.