Yes. Grid is better than Flexbox for most things, but going with grid really 
depends on what browsers we’re supporting.

IE 10 and 11 do support grid, but their support for grid is based on an old 
spec. Edge got support for grid only recently.

https://rachelandrew.co.uk/archives/2016/11/26/should-i-try-to-use-the-ie-implementation-of-css-grid-layout/
 
<https://rachelandrew.co.uk/archives/2016/11/26/should-i-try-to-use-the-ie-implementation-of-css-grid-layout/>
https://gridbyexample.com/browsers/ <https://gridbyexample.com/browsers/>

> On Feb 26, 2018, at 9:43 AM, Carlos Rovira <[email protected]> wrote:
> 
> Hi Alex,
> 
> two things here:
> 
> 1) while reading about css layouts seems Grid system is the most
> sophisticated one and is better than flexbox, so I think we should change
> to that since flex box does not support some layouts and Grid seems the
> future and more like what we had in flex
> 
> 2) yesterday making a simple blog example I put a vertical layout in a view
> and a simple Js:button in SWF version button gets all the horizontal space
> while in js is not affected. I think this differences must be removed since
> if we post some example with both versions, both must be visuals equal (as
> much as we can), but this difference is huge
> 
> 
> 2018-02-26 6:39 GMT+01:00 Alex Harui <[email protected]>:
> 
>> Hi,
>> 
>> Time for another refactoring of layout.  My goal for this round is to move
>> the border/padding/margin calculations into the ValuesManager, and get the
>> JS version to use getComputedStyle.  I think it will be cleaner to
>> abstract the differences between SWF and JS in the ValuesManager and allow
>> for different IValuesImpls to have different levels of sophistication for
>> SWF.
>> 
>> Right now, our "FlexibleChild" layouts are not factoring in margins
>> correctly.
>> 
>> Thoughts?
>> -Alex
>> 
>> 
> 
> 
> -- 
> Carlos Rovira
> http://about.me/carlosrovira

Reply via email to