Bug 24985

Summary: CSS min-width ignored for input type="button"
Product: WebKit Reporter: Dermot Buckley <buckley.d>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: ahmad.saleem792, ap, steffen.weber
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://buckleycomputers.ie/min-width.html
Description Flags
Safari 15.5 matches other browsers none

Description Dermot Buckley 2009-04-01 06:04:24 PDT
CSS min-width specifications appear to be ignored for input type=button controls.

See http://buckleycomputers.ie/min-width.html, the first button specifies a min-width of 400 pixels, the second specifies a width of 400 pixels.  I would expect both to be 400 pixels wide.

This is a regression, as it works as expected in safari 3.2.1 (Webkit/525.27.1).
Comment 1 Dermot Buckley 2009-07-15 09:12:59 PDT
This appears to be fixed now in Chrome.

It would be great if it were also fixed in webkit.
Comment 2 Jon Honeycutt 2011-12-06 16:56:54 PST
Comment 3 Ahmad Saleem 2022-06-02 08:33:44 PDT
Created attachment 459961 [details]
Safari 15.5 matches other browsers

I was able to retrieve the test case from the URL using wayback archive and change it to following JS Fiddle:

Link - https://jsfiddle.net/o6az20mx/show

As shown in attached picture, I am unable to find any difference the behavior across Chrome Canary 104 and Firefox Nightly 103 compared to Safari 15.5.

It might be fixed along the line and I think should be closed as "RESOLVED CONFIGURATION CHANGED" unless if I tested it incorrectly. Please retest accordingly, in case if I came to wrong conclusion. Thanks!
Comment 4 Alexey Proskuryakov 2022-06-02 09:07:47 PDT
Thank you for checking!