Skip to main content

Bug Tracker

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.

Attachments (0)
Change History (2)

Changed September 06, 2006 08:02PM UTC by Isaac Weinha comment:1

keywords: → Hyphens, css, z-index, ie6
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.

Changed October 11, 2006 04:09AM UTC by brandon comment:2

resolution: → fixed
status: newclosed

Fixed in SVN.