- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Tue, 30 Aug 2011 08:21:35 +0300
- 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 <http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#attr-style-type> 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