[Bug 5292] Validator False Error on Style background-color

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5292

           Summary: Validator False Error on Style background-color
           Product: Validator
           Version: 0.8.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
        AssignedTo: dave.null@w3.org
        ReportedBy: jay.nestor@gmail.com
         QAContact: www-validator-cvs@w3.org


Validator indicates an error for embedded style sheet OR styles that refer to
the attribute background-color:

Sample Error Message:

Line 7, Column 22: end tag for "style" omitted, but OMITTAG NO was specified .
body{background-color:

Sample Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Week 3 Programming Assignment 1</title>
<style type="text/css">
body{background-color:#ccc; color:#000; font:11px/16px Verdana, Arial,
Helvetica, sans-serif;}
col.labels{background-color:#e0e0e0; color:#000; padding:6px 0 3px 3px;}
col.data{background-color:#fff; color:#000; padding:3px 0 3px 3px;}
</style>
</head>
<body>
... 
</body>
</html>

Received on Tuesday, 27 November 2007 22:24:28 UTC