- From: Philippe Le Hegaret <plh@w3.org>
- Date: 12 Jul 2002 12:35:36 -0400
- To: Raymond Drainville / Argument from Design <ray@ardes.com>
- Cc: www-validator-css@w3.org
On Wed, 2002-07-10 at 14:58, Raymond Drainville / Argument from Design: > I just thought I'd pass along something that *may* be a bug. > > For a valid HTML 4.01 Transitional document with the following CSS links: > > <link rel="stylesheet" type="text/css" href="print.css" media="Print"> > <link rel="stylesheet" type="text/css" href="screen.css" media="Screen"> > > I get the following errors: > > * Line: -1 > > > > unrecognized media Print > > > > * Line: -1 > > > > unrecognized media Screen > > When I changed media to 'print' & 'screen' instead of 'Print' & 'Screen', it > was fine. Isn't HTML 4.01 Transitional case insensitive? > > The document in question is located at: > > <http://www.shef.ac.uk/~phil/> > > Off to fix the CSS document now! I was about to reply "oops, we have a bug" when Bert pointed out the following section in HTML 4: [[ 3. A case-sensitive match is then made with the set of media types defined above. User agents may ignore entries that don't match. In the example we are left with screen and print. ]] http://www.w3.org/TR/html401/types.html#type-media-descriptors in other words, media types are case-sensitive in HTML 4. Philippe
Received on Friday, 12 July 2002 12:35:38 UTC