W3C home > Mailing lists > Public > www-style@w3.org > December 1999

Re: background-Image Problem with Netscape Communicator 4.7

From: Peter S. Linss <peter@linss.com>
Date: Tue, 07 Dec 1999 21:31:18 -0800
Message-ID: <384DED26.AABA6EA0@linss.com>
To: Todd Fahrner <fahrner@pobox.com>
CC: Thomas Ashe <Thomas.Ashe@Blackbaud.com>, "'www-style@w3.org'" <www-style@w3.org>
Todd Fahrner wrote:

> At 5:38 PM -0500 12/7/99, Thomas Ashe wrote:
> >How can a programmer effectively create element IDs that are readable, yet
> >fit all the specs? OK, I guess you could use syntax like that of
> >Objective-C, such as elementName, but many programmers are used to using
> >underscore as a valid character in a variable/object name, and not allowing
> >it seems like a flaw IMO.
> I follow your reasoning. I am not an apologist for this syntactical
> detail. I have merely pointed it out. It's one of the few things
> Netscape 4.x does right.
> >Is there something I missing somewhere that would enlighten me to why this
> >is an illegal character?
> Probably Bert Bos knows. All I can surmise is that there was some
> determination to preserve as many characters as practical for
> possible future use. I guess this one cut a little close.
> >P.S. in addition to IE, Mozilla M11 accepts names with an underscore as a
> >valid selector.
> Until the spec changes, it's a bug.

I brought this up as either a CSS2 errata item or a CSS3 extension (don't
remember which) but underscores should be considered legal in identifiers
shortly. With that in mind, Mozilla already supports them.


> --
> Todd Fahrner

Received on Wednesday, 8 December 1999 00:32:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:52 UTC