<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2307</bug_id>
          
          <creation_ts>2005-09-27 13:52:54 +0000</creation_ts>
          <short_desc>line-height: 0 generates parse error</short_desc>
          <delta_ts>2008-12-01 03:03:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>CSS 2.0</component>
          <version>CSS Validator</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>2272</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Kuehn">akuehn</reporter>
          <assigned_to name="Olivier Thereaux">ot</assigned_to>
          <cc>aaz</cc>
    
    <cc>eric</cc>
    
    <cc>w3bugzilla</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6490</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Kuehn">akuehn</who>
    <bug_when>2005-09-27 13:52:54 +0000</bug_when>
    <thetext>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. &quot;0em&quot;)
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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6524</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Stanley">jon</who>
    <bug_when>2005-09-28 12:56:10 +0000</bug_when>
    <thetext>I can confirm this bug when validating to the CSS3 profile. Line-height of 0
should indeed be valid, as 0 == 0px, 0em, 0en, 0pt, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7300</commentid>
    <comment_count>2</comment_count>
    <who name="kavol">kavol</who>
    <bug_when>2005-12-01 22:32:11 +0000</bug_when>
    <thetext>yes, I came across this bug too ... trying to validate CSS 2.1 source

(btw, not the right place to ask but this reminded me ... is there any other way 
to specify the CSS version 2.1 instead of 2 than using the advanced interface? I 
mean something within the document itself?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7302</commentid>
    <comment_count>3</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2005-12-01 22:38:01 +0000</bug_when>
    <thetext>There is not, see http://lists.w3.org/Archives/Public/www-style/ for details 
(keywords would be e.g. &quot;@version&quot;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7603</commentid>
    <comment_count>4</comment_count>
    <who name="Jesse McCarthy">w3bugzilla</who>
    <bug_when>2006-01-04 17:45:55 +0000</bug_when>
    <thetext>Why has there been no action on this bug in the *100* days since it was 
reported?  Every day that a bug like this is allowed to fester it is 
embarrassing developers who have gone to the trouble to write valid code and 
rely on the validator to certify that.  Please fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7604</commentid>
    <comment_count>5</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2006-01-04 17:57:07 +0000</bug_when>
    <thetext>No one provided a patch so far. If someone provides a good patch, I&apos;m happy to 
commit it and ask Yves to update the online version of the Validator.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7608</commentid>
    <comment_count>6</comment_count>
    <who name="Jesse McCarthy">w3bugzilla</who>
    <bug_when>2006-01-04 19:37:20 +0000</bug_when>
    <thetext>Ok, but that&apos;s an excuse, not a solution.  I&apos;m not blaming you -- in fact I 
have no idea who in particular is responsible for maintaining the validator.  
Who needs to have this bug brought to their attention to get some action?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7609</commentid>
    <comment_count>7</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2006-01-04 19:51:51 +0000</bug_when>
    <thetext>Whoever will write a patch or ensure that someone else will write one...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7610</commentid>
    <comment_count>8</comment_count>
    <who name="Jesse McCarthy">w3bugzilla</who>
    <bug_when>2006-01-04 19:55:24 +0000</bug_when>
    <thetext>Do you understand that that means nothing to me as a website developer who 
relies on this validator to demonstrate to potential clients, etc. that I&apos;m 
writing valid code?

Who is running the show when it comes to this validator?  Is there any 
organizational structure behind it ensuring that things get done?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7611</commentid>
    <comment_count>9</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2006-01-04 20:02:51 +0000</bug_when>
    <thetext>See http://www.w3.org/QA/Tools/qa-dev/ but note that we are all painfully aware 
that the CSS Validator is not regularily maintained, in the end it&apos;d be a 
matter of convincing someone like a W3C Member organization, W3C Management, or 
some other entity to pay someone to do it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8167</commentid>
    <comment_count>10</comment_count>
    <who name="Eric Meyer">eric</who>
    <bug_when>2006-02-09 00:15:39 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; A line-height value of 0 without a length unit generates a parse error and a
&gt; complaint about an empty string.  Adding any length unit value (e.g. &quot;0em&quot;)
&gt; cures the error.  Of course, unit values are supposed to be optional.  This
&gt; appears to be a very recently-introduced issue (since 9/25/05 or thereabout).

Actually, this seems to happen for any integer number with no unit; see http://jigsaw.w3.org/css-
validator/validator?profile=css2&amp;warning=2&amp;uri=http%3A%2F%2Falistapart.com%2F for one such 
example (line-height: 1;).  Apparently another way to step around this bug is to convert to decimal, as 
in: line-height: 1.0;.

Furthermore, unit values aren&apos;t optional.  United values for line-height have very, very different effects 
than unitless values; they&apos;re as different as apples and oranges.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8172</commentid>
    <comment_count>11</comment_count>
    <who name="Si^mon Pi^eters">former-z^corpan</who>
    <bug_when>2006-02-09 13:08:56 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 2272 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>