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 1509 - Error in parser (in style part)
Summary: Error in parser (in style part)
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.6.7
Hardware: PC Windows XP
: P2 major
Target Milestone: ---
Assignee: SLTK
QA Contact: qa-dev tracking
Depends on:
Reported: 2005-06-25 17:33 UTC by SLTK
Modified: 2005-06-29 09:30 UTC (History)
0 users

See Also:


Description SLTK 2005-06-25 17:33:53 UTC
In my style sheet exists next code:
background: url('pic/main/center/cpb.gif') repeat;
Your parser stoped when found "/", but CSS Validator scan it normaly.
You may test this bug on my page:
Comment 1 Ville Skyttä 2005-06-29 09:30:23 UTC
Not a bug.  In HTML (but not XHTML), due to its SGML nature, writing: 
    <style type=text/css>foo { ... the same as writing: 
    <style type=text></style></head><body>foo { ... 
You can witness this by checking the "parse tree" checkbox in the validation 
results and revalidating: 
The fix is to place quotes around text/css like: 
    <style type="text/css">foo { ... 
Always quoting attribute values is a good habit, even if it's not always