Bug 98835
| Summary: | [Chromium] Button with overflow: auto and 0px border+padding renders with scroll bar | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ilya Sherman <isherman> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | isherman, schenney, tkent |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.8 | ||
| URL: | http://jsfiddle.net/cUVs9/ | ||
Ilya Sherman
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!">
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Kent Tamura
I couldn't reproduce this with Google Chrome 22/24 OSX, Windows.
Ilya Sherman
(In reply to comment #1)
> I couldn't reproduce this with Google Chrome 22/24 OSX, Windows.
I am testing with OS X 10.8.2. Perhaps it's a Lion-specific bug? (I can confirm that the issue does not reproduce on Windows.)