This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15889 - Misleading definition of <length> value on 'line-height' property
Summary: Misleading definition of <length> value on 'line-height' property
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: CSS Level 2 (show other bugs)
Version: unspecified
Hardware: All Windows 3.1
: P2 normal
Target Milestone: ---
Assignee: Bert Bos
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-04 17:54 UTC by Anton P
Modified: 2012-12-04 00:51 UTC (History)
0 users

See Also:


Attachments

Description Anton P 2012-02-04 17:54:25 UTC
Reported by Anton Prowse

In the defintion of the 'line-height' property in 10.8.1, the description of <length> values is as follows:

  # <length>
  #     The specified length is used in the calculation of the line box height.

This is incorrect for inline replaced elements, where the line-height is not used for that purpose.  (It does allow percentages on 'vertical-align' to be resolved, though.  [Note that for such elements it's the margin area height instead that influences the line box height.])

Bert Bos notes that throughout the spec these descriptive sentences aren't actually supposed to be a normative description of what each value type means on individual elements; rather they are supposed to merely describe what the possible values are.  However, he suggested we consider removing the sentence in question.


Conversation begins: http://lists.w3.org/Archives/Public/www-style/2011Mar/0637.html

Bug description: http://lists.w3.org/Archives/Public/www-style/2011Mar/0689.html (#2)

Proposal: http://lists.w3.org/Archives/Public/www-style/2011Mar/0720.html
Comment 1 Anton P 2012-02-04 17:54:37 UTC
I think that the sentence should be replaced with a description of the computed value, as per the description of <percentage>.