[css-layout-api] An initial starting point for the Layout API

Hi all,

Before we meet on Fri/Sat I wanted to quickly send out to the list
what we think might be a good scope for an initial level of the Layout
API so that we can discuss F2F.

Please note that this isn’t a list of things that we’ll never want to
support. This is merely a list of what we think is a minimum useful
set of features for authors.

 - Expose minInlineContent/maxInlineContent
 - AbsPos is handled automatically (in the same fashion as flex/grid).
 - The custom layout container establishes a formatting context, which
implies that:
    - Floats cannot intrude into the custom layout
    - Margins do not collapse
 - Blockify all children (similar to flex/grid)
    - Note that in a future version of the spec this may be toggled with a flag
 - No changing paint order (like the CSS order property on flex/grid).
 - Float does not have any effect on children of a custom layout
container (similar to flex/grid).

Please have a think about what other items could be in a future level,
or what should be included in level 1.

Thanks,
Ian

Received on Thursday, 27 August 2015 08:37:19 UTC