[Webkit-unassigned] [Bug 98835] New: [Chromium] Button with overflow: auto and 0px border+padding renders with scroll bar

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 9 16:51:19 PDT 2012


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

           Summary: [Chromium] Button with overflow: auto and 0px
                    border+padding renders with scroll bar
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://jsfiddle.net/cUVs9/
        OS/Version: Mac OS X 10.8
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: isherman at chromium.org


The code at the bottom of this description, also available at http://jsfiddle.net/cUVs9/, results in a button rendered with a horizontal scroll bar.  This doesn't seem appropriate -- the default sizing should cause the text to fit correctly, sans scrollbar.

<style>
#button {
  border: 0;
  overflow: auto;
  padding: 0;
}
</style>

<input type="button" id="button" value="Hello World!">​

-- 
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