[Webkit-unassigned] [Bug 32731] New: Textarea occupies extra height below itself

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 18 12:20:56 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32731

           Summary: Textarea occupies extra height below itself
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://www.thanksroy.com/
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aaron at kanuck.net


Created an attachment (id=45172)
 --> (https://bugs.webkit.org/attachment.cgi?id=45172)
Demonstration of this bug

Place a textarea inside a div. Give it height/width of 100px.

The enclosing div's height will be 104px. The textarea is taking up 4px extra
space below itself.

If you increase font-size, the phantom height also increases — 2em = 8px, 3em =
12px, etc.

(If font-size >= 6.969em — no jokes, that's the exact number I arrived at —
then you also start to get even MORE phantom height both below AND above the
textarea. Watch out for that in testing this bug!)

Problem first noticed while working on linked site — observe that there is
actually an extra 6px height below the div in this case, not 4px, indicating
there's even more strangeness at work here.

I can't figure it out. I leave it to smart people.

Demonstration attached.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list