You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently all the box-alignment features are hidden under their respective contexts.
The css.properties.align-self.position_absolute_context key is in the absolute positioning feature, and same with flexbox/grid/etc. Only "align-content in block layouts" has it's own data visible.
The most immediate problem with this is that we can't see the multi-browser support that exists for alignment in absolute positioning. At the very least, position_absolute_context alignment keys deserves to be a feature.
At a high level, I think we lose out by not treating "box alignment" as a top level feature of CSS. I know it's historically been taught as 'part of' different layout systems - but authors have consistently found that confusing. The reality is we're close to having it everywhere, with a unified syntax we can teach and use across layouts.
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue, @mirisuzanne. I'm very curious about ways in which the definition of features does not (or should not or does!) align with developer expectations.
The most immediate problem with this is that we can't see the multi-browser support that exists for alignment in absolute positioning. At the very least, position_absolute_context alignment keys deserves to be a feature.
Can you talk about what the absolute-positioning feature is missing or over-fitting on? Or is this a suggestion about the underlying browser compat data itself, that it should somehow record the existence of different layout modes distinctly from whether or not certain properties engage with that mode?
Currently all the box-alignment features are hidden under their respective contexts.
The
css.properties.align-self.position_absolute_context
key is in the absolute positioning feature, and same with flexbox/grid/etc. Only "align-content in block layouts" has it's own data visible.The most immediate problem with this is that we can't see the multi-browser support that exists for alignment in absolute positioning. At the very least,
position_absolute_context
alignment keys deserves to be a feature.At a high level, I think we lose out by not treating "box alignment" as a top level feature of CSS. I know it's historically been taught as 'part of' different layout systems - but authors have consistently found that confusing. The reality is we're close to having it everywhere, with a unified syntax we can teach and use across layouts.
The text was updated successfully, but these errors were encountered: