Closed Bug 1445931 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10050 - [css-flexbox] Resolve min-width:auto on table item to min preferred size.

Categories

(Core :: CSS Parsing and Computation, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 10050 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/10050
Details from upstream follow.

Morten Stenshorne wrote:
>  [css-flexbox] Resolve min-width:auto on table item to min preferred size.
>  
>  Edge and Firefox seem to let table flex items use the sizing algorithm
>  of the table extensively, and are therefore generally broken when it
>  comes to flexing tables. We, on the other hand, let the flex sizing
>  algorithm be in charge of sizing tables, so that flexing actually works.
>  However, this causes tables with a specified main size of less than the
>  minimum intrinsic logical width of the table to shrink below their
>  minimum intrinsic logical width, a situation that's generally unwanted
>  for tables.
>  
>  Amend by ignoring the specified main size when resolving min-width:auto
>  on table items. Just use the preferred logical width.
>  
>  Bug: 821832
>  Change-Id: I78ca0c8e0041ea69bb606ff72d340bb3f5f9bb96
>  Reviewed-on: https://chromium-review.googlesource.com/964203
>  WPT-Export-Revision: 2c8abea4ee06c9b024aad2b07a3c18567ce41a47
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6a0124ceb896
[wpt PR 10050] - [css-flexbox] Resolve min-width:auto on table item to min preferred size., a=testonly
https://hg.mozilla.org/mozilla-central/rev/6a0124ceb896
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.