Ticket #175 (new defect)
Opened 3 years ago
CSS Validator doesn't realize document is not CSS
|Reported by:||Felix Oghina <felix.oghina@…>||Owned by:|
Give the validator this code (by direct input):
<!DOCTYPE html><html><head><title>Hello</title></head><body><p>Hello, World</p></body></html>
The CSS validator will complain that
Parse Error Lexical error at line 1, column 3. Encountered: "D" (68), after : "<!"
It should detect that the submitted document is not a CSS document and behave like the feed validator, which says:
It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.