#170 closed bug (fixed)
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.
Change History (2)
comment:1 Changed 16 years ago by
Keywords: | Hyphens css z-index ie6 added |
---|---|
Summary: | Hyphens in CSS, IE7 → Hyphens in CSS, IE6 |
Version: | → 1.0b1 |
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.