Financial-Times / o-grid

Responsive grid system
http://registry.origami.ft.com/components/o-grid
94 stars 17 forks source link

Use flexbox for laying out columns #91

Closed kaelig closed 9 years ago

kaelig commented 9 years ago

Pros

Thanks to @raphaelgoetter for his help.

raphaelgoetter commented 9 years ago

Hi and thanks to you !

According to Paul Lewis, a flexbox grid should be faster to paint than using floats in modern browsers

Is there any source of this hypothesis ?

Some link on the subject :

kaelig commented 9 years ago

According to Paul Lewis, a flexbox grid should be faster to paint than using floats in modern browsers

Is there any source of this hypothesis ?

I built UI tests that could support this but it was very hard to give statistical credit to a few milliseconds difference.

A few other sources:

@paulirish said https://twitter.com/paul_irish/status/514436079865188352

Blink engineers will tell you that (new) flexbox is the most performant layout mechanism we have

@paullewis said https://twitter.com/aerotwist/status/618778842346471424

In my experience flex outweighs floats, but as Jake said: test. And yeah, grid would be finer.

AlbertoElias commented 9 years ago

lgtm!