W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2005

[Bug 1509] Error in parser (in style part)

From: <bugzilla@wiggum.w3.org>
Date: Wed, 29 Jun 2005 09:30:24 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1DnYtk-0002Io-0L@wiggum.w3.org>


ville.skytta@iki.fi changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

------- Additional Comments From ville.skytta@iki.fi  2005-06-29 09:30 -------
Not a bug.  In HTML (but not XHTML), due to its SGML nature, writing: 
    <style type=text/css>foo { ... 
...is the same as writing: 
    <style type=text></style></head><body>foo { ... 
You can witness this by checking the "parse tree" checkbox in the validation 
results and revalidating: 
The fix is to place quotes around text/css like: 
    <style type="text/css">foo { ... 
Always quoting attribute values is a good habit, even if it's not always 
Received on Wednesday, 29 June 2005 09:30:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:20 UTC