Re: [csswg-drafts] [css-align][css-grid] Incorrect grid's intrinsic size when applying baseline-alignment

I can agree that dealing with orthogonal items during intrinsic size computation is complex and that we may have to accept wrong or weird results under such scenarios. However, I raised this issue just because we tried to solve these issues by integrating the Baseline Alignment logic inside the Track Sizing Algorithm.

I have a quite complete implementation now and it works very well in most of the cases; I've got several tests with orthogonal and relative sizes and the statement about avoiding cyclic dependencies helps a lot to simplify these cases (and I think it make much sense). 

So far, this is the only case that seems to behave unexpectedly, but of course this is debatable; it may be one of the cases that we must live with because of how orthogonal items behave during the sizing algorithm. However, Baseline Alignment along the row/inline axis is only possible using orthogonal items, so I think we should analyze this case. It's also worth mentioning that this issue only occurs when using RL writing modes. 

-- 
GitHub Notification of comment by javifernandez
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2409#issuecomment-371076716 using your GitHub account

Received on Wednesday, 7 March 2018 09:25:36 UTC