[Bug 1237] New: Missing value for "list-style-type" property

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

           Summary: Missing value for "list-style-type" property
           Product: CSSValidator
           Version: CSS Validator
          Platform: All
               URL: http://jigsaw.w3.org/css-
                    validator/validator?uri=http%3A%2F%2Fwww%2Est%2Dminutiae
                    %2Ecom%2Fstyles%2Fmedia%2Dhandheld%2Ecss
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: CSS 2.0
        AssignedTo: ot@w3.org
        ReportedBy: minutiaeman@st-minutiae.com
         QAContact: www-validator-cvs@w3.org


Given the following selector rule (the overall style sheet is using CSS2.1, but this rule is valid CSS2.0)...

ul#navigation > li {
	display: list-item !important;
	list-style-type: inherit;
}

...the CSS validator returns the following error: "Invalid number : list-style-type inherit is not a list-
style-type value  : inherit ".  It also provides a link to the CSS 2(.0) specification (http://www.w3.org/
TR/REC-CSS2/generate.html#propdef-list-style-type) for the list-style-type property... but the CSS 2 
spec specifically allows the "inherit" value!

This bug was first reported (by myself) on the www-validator-css@w3.org mailing list, and I was 
instructed to report it here.  Hope this helps!

Received on Monday, 11 April 2005 14:06:44 UTC