[Bug 2272] <number> should not require a digit

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

           Summary: <number> should not require a digit
           Product: CSSValidator
           Version: CSS Validator
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 2.0
        AssignedTo: ot@w3.org
        ReportedBy: zcorpan@hotmail.com
         QAContact: www-validator-cvs@w3.org


According to CSS2, <number> could be an <integer>[1]. So the following style
sheet is valid CSS2:

 E { line-height:1; }

Reproducable: Always
Steps to reproduce:
 1.
http://jigsaw.w3.org/css-validator/validator?text=E+%7B+line-height%3A1%3B+%7D&usermedium=all
Actual results: "Invalid number : line-height Parse Error - [empty string]"
Expected results: "No error or warning found"

[1] http://www.w3.org/TR/REC-CSS2/syndata.html#value-def-number

Received on Tuesday, 20 September 2005 17:19:45 UTC