Bug 193506

Summary: Initial value of min-width should be 0, not auto
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED INVALID    
Severity: Normal CC: bfulgham, ews-watchlist, koivisto, rniwa, simon.fraser, zalan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
ews-watchlist: commit-queue-
Archive of layout-test-results from ews103 for mac-highsierra
none
Archive of layout-test-results from ews104 for mac-highsierra-wk2
none
Archive of layout-test-results from ews115 for mac-highsierra
none
Archive of layout-test-results from ews121 for ios-simulator-wk2
none
Archive of layout-test-results from ews201 for win-future none

Description zalan 2019-01-16 12:51:27 PST
and not auto.

https://www.w3.org/TR/CSS22/visudet.html#min-max-widths
Comment 1 zalan 2019-01-16 12:52:58 PST
auto is not even a valid value.
Comment 2 zalan 2019-01-16 12:54:14 PST
Created attachment 359295 [details]
Patch
Comment 3 zalan 2019-01-16 13:21:26 PST
There will be failures...
Comment 4 EWS Watchlist 2019-01-16 13:42:00 PST
Comment on attachment 359295 [details]
Patch

Attachment 359295 [details] did not pass mac-ews (mac):
Output: https://webkit-queues.webkit.org/results/10775474

Number of test failures exceeded the failure limit.
Comment 5 EWS Watchlist 2019-01-16 13:42:02 PST
Created attachment 359299 [details]
Archive of layout-test-results from ews103 for mac-highsierra

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103  Port: mac-highsierra  Platform: Mac OS X 10.13.6
Comment 6 EWS Watchlist 2019-01-16 13:46:33 PST
Comment on attachment 359295 [details]
Patch

Attachment 359295 [details] did not pass mac-wk2-ews (mac-wk2):
Output: https://webkit-queues.webkit.org/results/10775471

Number of test failures exceeded the failure limit.
Comment 7 EWS Watchlist 2019-01-16 13:46:35 PST
Created attachment 359301 [details]
Archive of layout-test-results from ews104 for mac-highsierra-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-highsierra-wk2  Platform: Mac OS X 10.13.6
Comment 8 EWS Watchlist 2019-01-16 13:47:07 PST
Comment on attachment 359295 [details]
Patch

Attachment 359295 [details] did not pass mac-debug-ews (mac):
Output: https://webkit-queues.webkit.org/results/10775274

Number of test failures exceeded the failure limit.
Comment 9 EWS Watchlist 2019-01-16 13:47:08 PST
Created attachment 359302 [details]
Archive of layout-test-results from ews115 for mac-highsierra

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews115  Port: mac-highsierra  Platform: Mac OS X 10.13.6
Comment 10 EWS Watchlist 2019-01-16 14:21:52 PST
Comment on attachment 359295 [details]
Patch

Attachment 359295 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: https://webkit-queues.webkit.org/results/10775535

Number of test failures exceeded the failure limit.
Comment 11 EWS Watchlist 2019-01-16 14:21:54 PST
Created attachment 359310 [details]
Archive of layout-test-results from ews121 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews121  Port: ios-simulator-wk2  Platform: Mac OS X 10.13.6
Comment 12 EWS Watchlist 2019-01-16 15:48:52 PST
Comment on attachment 359295 [details]
Patch

Attachment 359295 [details] did not pass win-ews (win):
Output: https://webkit-queues.webkit.org/results/10776626

New failing tests:
css3/flexbox/flex-factor-less-than-one.html
css3/flexbox/csswg/flexbox_flex-0-1-0.html
fast/css/auto-min-size.html
css3/flexbox/intrinsic-width-orthogonal-writing-mode.html
css3/flexbox/minimum-size-image.html
css3/flexbox/csswg/flexbox_flex-0-0-0.html
css3/flexbox/text-overflow-on-flexbox.html
css3/flexbox/min-size-auto.html
fast/flexbox/auto-height-with-flex.html
css3/flexbox/csswg/flexbox_flex-0-N-0.html
imported/blink/css3/flexbox/text-overflow-on-flexbox.html
Comment 13 EWS Watchlist 2019-01-16 15:49:05 PST
Created attachment 359327 [details]
Archive of layout-test-results from ews201 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews201  Port: win-future  Platform: CYGWIN_NT-6.1-2.10.0-0.325-5-3-x86_64-64bit
Comment 14 zalan 2019-01-16 15:55:23 PST
Actually according to https://www.w3.org/TR/css-sizing-3/#propdef-min-width the min-width initial value is auto. How does that work with block formatting context!?
Comment 15 zalan 2019-01-16 15:58:21 PST
'auto'
For min-width/min-height, specifies an automatic minimum size. Unless otherwise defined by the relevant layout module, however, it resolves to a used value of 0.