Skip to content

Commit cf16ec6

Browse files
committed
[css-align] Add two issues about the legacy keyword.
1 parent 2f55dc4 commit cf16ec6

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

css-align/Overview.bs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,19 @@ Inline/Main-Axis Alignment: the 'justify-items' property</h3>
984984

985985
Other values have no special handling and are merely passed to 'justify-self'.
986986

987+
Issue: The ''justify-items/auto'' keyword exists solely to implement the ''legacy'' inheritance property.
988+
We could just rename it to ''legacy'',
989+
since it computes away to ''justify-items/normal'' unless you're using ''legacy'' anyway.
990+
991+
Issue: The ''legacy'' keyword acts weird,
992+
to make it behave like an inherited value
993+
even though this property is not inherited.
994+
We don't mix inheritance and non-inheritance anywhere else,
995+
because it's a bad code smell.
996+
Should we remove ''legacy'' and make a separate inheriting property for it?
997+
Or just drop the behavior entirely and let it remain special HTML magic?
998+
999+
9871000
<h3 id='align-items-property'>
9881001
Block/Cross-Axis Alignment: the 'align-items' property</h3>
9891002

0 commit comments

Comments
 (0)