Bug 193506 - Initial value of min-width should be 0, not auto
Summary: Initial value of min-width should be 0, not auto
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-16 12:51 PST by zalan
Modified: 2019-01-16 15:59 PST (History)
6 users (show)

See Also:


Attachments
Patch (1.49 KB, patch)
2019-01-16 12:54 PST, zalan
ews: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ews103 for mac-highsierra (512.38 KB, application/zip)
2019-01-16 13:42 PST, Build Bot
no flags Details
Archive of layout-test-results from ews104 for mac-highsierra-wk2 (486.43 KB, application/zip)
2019-01-16 13:46 PST, Build Bot
no flags Details
Archive of layout-test-results from ews115 for mac-highsierra (563.88 KB, application/zip)
2019-01-16 13:47 PST, Build Bot
no flags Details
Archive of layout-test-results from ews121 for ios-simulator-wk2 (606.42 KB, application/zip)
2019-01-16 14:21 PST, Build Bot
no flags Details
Archive of layout-test-results from ews201 for win-future (13.56 MB, application/zip)
2019-01-16 15:49 PST, Build Bot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 Build Bot 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 Build Bot 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 Build Bot 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 Build Bot 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 Build Bot 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 Build Bot 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 Build Bot 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 Build Bot 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 Build Bot 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 Build Bot 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.