Bug 94406 - flex-item tables need special handling
Summary: flex-item tables need special handling
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 62048
  Show dependency treegraph
Reported: 2012-08-17 18:43 PDT by Ojan Vafai
Modified: 2012-08-17 18:43 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ojan Vafai 2012-08-17 18:43:43 PDT
See http://dev.w3.org/csswg/css3-flexbox/#table-items.

On a flex item with ‘display: table’, the table wrapper box becomes the flex item, and the ‘order’ and ‘align-self’ properties apply to it. The contents of any caption boxes contribute to the calculation of the table wrapper box's min-content and max-content sizes. However, like ‘width’ and ‘height’, the ‘flex’ longhands apply to the table box as follows: the flex item's final size is calculated by performing layout as if the distance between the table wrapper box's edges and the table box's content edges were all part of the table box's border+padding area, and the table box were the flex item.