[Bug 762] New: Style attributes are ignored unless Content-Style-Type is specified

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

           Summary: Style attributes are ignored unless Content-Style-Type
                    is specified
           Product: CSSValidator
           Version: CSS Validator
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: ot@w3.org
        ReportedBy: bjoern@hoehrmann.de
         QAContact: www-validator-cvs@w3.org


From http://jigsaw.w3.org/css-validator/BUGS.html

''
I have found something, maybe already known, The HTML validator and the CSS 
validator can't detect this file is wrong : 

http://www.la-grange.net/2002/04/03-styleatt-wo-meta 

This file has a style attribute style="color: green; border: solid red;" but no 
metaname specifying the default stylesheet language. So by definition, the file 
is not a valid one : 

HTML 4.01 says in the chapter "Style Sheets in HTML documents (14.2.1)": 

"Documents that include elements that set the style attribute but which don't 
define a default style sheet language are incorrect." 

2002-04-03 The HTML validator says the file is valid. 

2002-04-03 The CSS validator does not find any style and says there are no 
errors. 
''

(see also http://www.w3.org/mid/40c6ab00.477995270@smtp.bjoern.hoehrmann.de)



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

Received on Saturday, 29 May 2004 18:23:56 UTC