W3C home > Mailing lists > Public > www-validator@w3.org > August 2011

Re: HTML 5 + CSS <link /> Markup Validator Result

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Tue, 30 Aug 2011 08:21:35 +0300
Message-ID: <4E5C735F.80600@cs.tut.fi>
To: www-validator@w3.org
29.8.2011 20:39, Shiva Charles wrote:

> <link rel="stylesheet" type="text/style" href="style.css" /> is
> validated successful but not functional.
> <link rel="stylesheet" type="text/css" href="style.css" /> is validated
> successful and functional.

This corresponds to what
says, except that "text/style" should be flagged as an error, as it is 
not a valid MIME type.

A different fault in the validator is that the element passes if you 
specify e.g. type="text/plain". In that case, the value is a valid MIME 
type but it fails to satisfy the requirement ("must") of designating a 
styling language.

Yucca, http://www.cs.tut.fi/~jkorpela/
Received on Tuesday, 30 August 2011 05:21:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:04 UTC