Bug Tracker

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#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:


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 15 years ago by Isaac Weinha

Keywords: Hyphens css z-index ie6 added
Summary: Hyphens in CSS, IE7Hyphens 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.

comment:2 Changed 15 years ago by brandon

Resolution: fixed
Status: newclosed

Fixed in SVN.

Note: See TracTickets for help on using tickets.