W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2005

[Bug 2307] line-height: 0 generates parse error

From: <bugzilla@wiggum.w3.org>
Date: Tue, 27 Sep 2005 13:52:54 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1EKFt8-0002mr-W1@wiggum.w3.org>


           Summary: line-height: 0 generates parse error
           Product: CSSValidator
           Version: CSS Validator
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 2.0
        AssignedTo: ot@w3.org
        ReportedBy: akuehn@nc.rr.com
         QAContact: www-validator-cvs@w3.org

A line-height value of 0 without a length unit generates a parse error and a
complaint about an empty string.  Adding any length unit value (e.g. "0em")
cures the error.  Of course, unit values are supposed to be optional.  This
appears to be a very recently-introduced issue (since 9/25/05 or thereabout).
Received on Tuesday, 27 September 2005 13:53:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:15 UTC