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 25026 - line-height on inputs needs a behavior that cannot be described via CSS
Summary: line-height on inputs needs a behavior that cannot be described via CSS
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-12 21:30 UTC by contributor
Modified: 2014-05-08 22:12 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2014-03-12 21:30:58 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html
Multipage: http://www.whatwg.org/C#the-input-element-as-a-text-entry-widget
Complete: http://www.whatwg.org/c#the-input-element-as-a-text-entry-widget
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
line-height on inputs needs a behavior that cannot be descried via CSS

Posted from: 23.25.236.226 by bzbarsky@mit.edu
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:30.0) Gecko/20100101 Firefox/30.0
Comment 2 Ian 'Hixie' Hickson 2014-03-12 23:21:29 UTC
If the thing is just that there's a "minimum" line height, that's "explainable" by an anonymous inline box that happens to have the minimum line height, no?

cc'ing Tab for CSS.
Comment 3 Boris Zbarsky 2014-03-13 02:25:19 UTC
Hmm.  Possibly.  Except when there's no text next to the anonymous inline box, in which case just having an empty inline box child doesn't affect the parent's height.
Comment 4 Ian 'Hixie' Hickson 2014-04-14 18:30:33 UTC
Tab suggests just clamping this in prose for now.
Comment 5 Ian 'Hixie' Hickson 2014-05-08 22:11:38 UTC
Reopen if this is wrong in some way. Thanks.
Comment 6 contributor 2014-05-08 22:12:39 UTC
Checked in as WHATWG revision r8624.
Check-in comment: Clamp 'line-height' for text fields
http://html5.org/tools/web-apps-tracker?from=8623&to=8624