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
To: www-validator-cvs@w3.org
Message-Id: <E1Ix8qr-0003SA-IO@wiggum.w3.org>


           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 .

Sample Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<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;}
Received on Tuesday, 27 November 2007 22:24:28 UTC

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