author: | $LastChangedBy: cthedot $ |
---|---|
date: | $LastChangedDate: 2007-08-08 16:14:03 +0200 (Mi, 08 Aug 2007) $ |
version: | $LastChangedRevision: 206 $ |
Quite a few values in real life stylesheets are to be expected. Most are driven by the fact the modern browsers are much more forgiving than the actual specification. But the way cssutils works it emits also quite a few warnings which may simply be ignored.
listed by property
Example:
font: normal 80%/1.1 sans-serif WARNING CSSValue: Invalid value for CSS2 property u'font': sans-serif
The optional line-height confuses cssutils that it emits this false WARNING
Example:
background: #000 url(x.gif) top 0 WARNING CSSValue: Invalid value for CSS2 property u'background': #000 url(x.gif) top 0
Again this WARNING is as the spec defines that keyword and length values of background-position values are not to be mixed. IMHO there are a few UAs which ignore these values indeed so you might want to rewrite your CSS in these cases.