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 3643 - Style end brackets not checked
Summary: Style end brackets not checked
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.7.2
Hardware: PC Windows XP
: P2 major
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
Depends on:
Reported: 2006-08-31 07:52 UTC by xqfjehdxhg
Modified: 2008-04-07 08:09 UTC (History)
0 users

See Also:


Description xqfjehdxhg 2006-08-31 07:52:03 UTC
This code incorrectly validates as perfect:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" lang="en" xml:lang="en">
  <style type="text/css"> 
   body { a:link {color:#889988; text-decoration:underline; }
   .testtable {width:950px;}

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!
Comment 1 Olivier Thereaux 2006-08-31 08:23:24 UTC
This is not a bug. The content of the style element will be checked (and properly marked as incorrect) by the CSS validator.
Comment 2 xqfjehdxhg 2008-04-07 08:09:59 UTC
Theoddone33 sucks.