This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5292 - Validator False Error on Style background-color
Summary: Validator False Error on Style background-color
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.8.2
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
Depends on:
Reported: 2007-11-27 22:24 UTC by Jay Nestor
Modified: 2009-05-04 16:12 UTC (History)
1 user (show)

See Also:

source of my page (61.05 KB, text/html)
2009-05-04 16:12 UTC, Gianluca

Description Jay Nestor 2007-11-27 22:24:21 UTC
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="" 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;}{background-color:#fff; color:#000; padding:3px 0 3px 3px;}
Comment 1 Olivier Thereaux 2007-11-28 02:47:11 UTC
Can't reproduce. The sample code you pasted validates just fine.
Comment 2 Gianluca 2009-05-04 16:12:16 UTC
Created attachment 690 [details]
source of my page

try this url

via "validate by uri" and you get the same error, if you try to do a validate by source, not. So please reopen this bug.