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

Validator yields error when type="text/css" not specified.

From: Proton Zero <proton.zero@gmail.com>
Date: Mon, 17 Jan 2011 15:34:50 -0800
Message-ID: <AANLkTi=CALpr_mfoixz+YKn_9Dk993VRs3dWR30koU6o@mail.gmail.com>
To: www-validator-css@w3.org
Whenever the CSS validator uses CSS inside <style> tags (as opposed to
giving the validator raw CSS data), if I do not specify type="text/css" in
the <style> tag, I receive an error: "Unrecognized link element or
xml-stylesheet PI."

Granted, XHTML5's specification is not yet complete, but it does say that if
a "type" attribute for the <style> tag is not given, then it defaults to
"text/css", so the two cases should yield an identical result.
Received on Tuesday, 18 January 2011 09:53:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:47 UTC