Skip to content

Commit 8d08144

Browse files
committed
[css-align-3] Properly mark left/right as being only for the justify-* properties, not for either of the <<*-position>> productions. Fixes w3c#2508.
1 parent 3a333cc commit 8d08144

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

css-align-3/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -321,15 +321,15 @@ Positional Alignment: the ''center'', ''start'', ''end'', ''self-start'', ''self
321321
and on boxes that are not <a>flex containers</a>,
322322
this value behaves as ''end'' when used in the <a>content-distribution properties</a>.
323323

324-
<dt><dfn for="<self-position>, <content-position>">left</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
324+
<dt><dfn for="justify-content, justify-self, justify-items">left</dfn> <small>(only 'justify-*')</small>
325325
<dd>Aligns the <a>alignment subject</a> to be flush with
326326
the <a>alignment container</a>’s <a href="https://www.w3.org/TR/css3-writing-modes/#line-left">line-left</a>
327327
or <a>physical left</a> edge,
328328
whichever is in the appropriate axis.
329329
If the property's axis is not parallel with either left↔right axis,
330330
this value behaves as ''start''.
331331

332-
<dt><dfn for="<self-position>, <content-position>">right</dfn> <small>([[#self-alignment|self]], [[#content-distribution|content]])</small>
332+
<dt><dfn for="justify-content, justify-self, justify-items">right</dfn> <small>(only 'justify-*')</small>
333333
<dd>Aligns the <a>alignment subject</a> to be flush with
334334
the <a>alignment container</a>’s <a href="https://www.w3.org/TR/css3-writing-modes/#line-right">line-right</a>
335335
or <a>physical right</a> edge,
@@ -361,10 +361,10 @@ Positional Alignment: the ''center'', ''start'', ''end'', ''self-start'', ''self
361361
</pre>
362362
</dl>
363363

364-
Note: ''left'' and ''right'' are excluded from <<self-position>>,
365-
despite being valid [=positional alignment=] values for 'justify-self'/'justify-items',
366-
because they are not allowed in 'align-self'.
367-
They are instead explicitly included in the 'justify-self' and 'justify-items' grammars.
364+
Note: ''left'' and ''right'' are excluded from <<self-position>> and <<content-position>>,
365+
despite being valid [=positional alignment=] values for 'justify-content'/'justify-self'/'justify-items',
366+
because they are not allowed in the 'align-*' properties.
367+
They are instead explicitly included in the 'justify-*' properties’ grammars.
368368

369369
<aside class=example>
370370
The ''<self-position>/start'' and ''<self-position>/end'' keywords

0 commit comments

Comments
 (0)