Bug 106389

Summary: min-content gets the wrong value if min-width is set on some form controls
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: New BugsAssignee: Ojan Vafai <ojan>
Status: REOPENED ---    
Severity: Normal CC: ahmad.saleem792, bdakin, dglazkov, eric, esprehn, hyatt, jchaffraix, mifenton, ojan.autocc, tkent, tony, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch tony: review+

Description Ojan Vafai 2013-01-08 15:04:20 PST
min-content gets the wrong value if min-width is set on some form controls
Comment 1 Ojan Vafai 2013-01-08 15:06:07 PST
Created attachment 181778 [details]
Patch
Comment 2 Build Bot 2013-01-08 16:22:08 PST
Comment on attachment 181778 [details]
Patch

Attachment 181778 [details] did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/15763279

New failing tests:
fast/forms/min-content-form-controls.html
Comment 3 Build Bot 2013-01-08 16:45:44 PST
Comment on attachment 181778 [details]
Patch

Attachment 181778 [details] did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/15759328

New failing tests:
fast/forms/min-content-form-controls.html
Comment 4 Ojan Vafai 2013-01-08 16:55:40 PST
Created attachment 181806 [details]
Patch
Comment 5 Tony Chang 2013-01-09 10:58:55 PST
Comment on attachment 181806 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=181806&action=review

> Source/WebCore/rendering/RenderFileUploadControl.cpp:198
>  
> +

Nit: Extra blank line?
Comment 6 Ojan Vafai 2013-01-09 11:42:22 PST
Committed r139216: <http://trac.webkit.org/changeset/139216>
Comment 7 Dimitri Glazkov (Google) 2013-01-09 12:37:19 PST
The new test is being complained about by Mac/Chromium bots:

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Fforms%2Fmin-content-form-controls.html
Comment 8 Ojan Vafai 2013-01-09 13:22:56 PST
https://bugs.webkit.org/show_bug.cgi?id=106482
Comment 9 Ahmad Saleem 2023-02-21 13:05:23 PST
I took the test from the patch (it was also on source.chromium.org) and then tested it in Safari Technology Preview 163 and it passes all test:

Test Case - https://www.youtube.com/watch?v=AxYezM4XJ3o

Do we need anything else? Thanks!
Comment 10 Ahmad Saleem 2023-02-25 08:59:52 PST
(In reply to Ahmad Saleem from comment #9)
> I took the test from the patch (it was also on source.chromium.org) and then
> tested it in Safari Technology Preview 163 and it passes all test:
> 
> Test Case - https://www.youtube.com/watch?v=AxYezM4XJ3o
> 
> Do we need anything else? Thanks!

https://jsfiddle.net/0mnpues3/show