W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2006

[Bug 3643] Style end brackets not checked

From: <bugzilla@wiggum.w3.org>
Date: Thu, 31 Aug 2006 07:52:03 +0000
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1GIhLH-0001d9-Up@wiggum.w3.org>

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

           Summary: Style end brackets not checked
           Product: Validator
           Version: 0.7.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Parser
        AssignedTo: link@pobox.com
        ReportedBy: xqfjehdxhg@mailinator.com
         QAContact: www-validator-cvs@w3.org


This code incorrectly validates as perfect:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
  <title>test</title>
  <style type="text/css"> 
   body { a:link {color:#889988; text-decoration:underline; }
   .testtable {width:950px;}
  </style> 
 </head>
 <body></body>
</html>

There is no end bracket for the body style. The only end bracket is for the
alink.
This means the testtable style is ignored causing havoc with a page!
Received on Thursday, 31 August 2006 07:52:19 UTC

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