Closed Bug 1068560 Opened 10 years ago Closed 10 years ago

Input padding cutting off descenders

Categories

(Core :: Layout: Form Controls, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1059742

People

(Reporter: elbart, Unassigned)

References

()

Details

(Whiteboard: DUPEME)

Attachments

(4 files)

Nightly
Win7

Open URL, see the input-field with pre-filled text ("Breaking Bad, Frozen, The Office").

Also happening with HWA off or in safemode.

IE11 and Chrome 37 are fine.
Mobile and Linux are affected, too.
This is a duplicate of a known bug on the fact that IE and Chrome have some sort of can't-be-described-in-CSS behavior here.
Whiteboard: DUPEME
Dupe of bug 1064775?
Attached image linkedin.png
For some change, here's a high-profile example: LinkedIn.
Testcase based on the LinkedIn page:
data:text/html,<input style="font-size:13px; line-height:13px;">

Type "ggg" and then drag-select it vertically.  It scrolls, hence it overflows
the content height we calculated.

http://dev.w3.org/csswg/css-inline/#InlineBoxHeight
says "The line-height value will specify the exact extended block-progression
dimension of each box generated by the element"

So I think the height is correct per spec for the given styles.

Solution: remove the explicit line-height.
http://netflixaroundtheworld.com/ has an explicit 'height', so it's a dupe of
bug 1059742.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
I filed Tech Evang bugs for both sites: bug 1069618, bug 1069634.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: