Skip to content

[css-align] justify-items synxtax doesn't allow 'overflow [leff | right]'  #2188

Closed
@javifernandez

Description

@javifernandez

After soe changes, due to ambiguities with the place-self and place-items shorthands, it was decided to restrict the position of the overflow-alignment values. That's fine. However, I'm not sure the current syntax for the justify-items is the one we were looking for:

https://drafts.csswg.org/css-align-3/#propdef-justify-items

| normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ] | [ legacy || [ left | right | center ] ]

If I understood it correctly, the syntax above parses as invalid CSS declarations like 'overflow leff'. As a matter of fact, overflow-positions is only valid if used with a self-position. However, the justify-self syntax parses as valid the combination with 'left' and 'right' as well.

Is this the intended behavior ?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions