W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2007

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 27 Nov 2007 22:24:21 +0000
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1Ix8qr-0003SA-IO@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:59 GMT