Skip to content

Commit 9dac7b5

Browse files
committed
[css-align] Move the 'no floats for justify-self' note into block-level section. Add similar wording to align-self.
1 parent a21ea9c commit 9dac7b5

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

css-align/Overview.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,6 +1028,8 @@ <h3 id=justify-self-property><span class=secno>5.1. </span>
10281028
href="#lsquostartrsquo"><code class=css>start</code></a>’ on
10291029
block-level boxes.
10301030

1031+
<p>This property does not apply to floats.
1032+
10311033
<dt>Absolutely-positioned Boxes:
10321034

10331035
<dd>
@@ -1115,8 +1117,6 @@ <h3 id=justify-self-property><span class=secno>5.1. </span>
11151117
margins provide appropriate spacing from the containing block edges.
11161118
</div>
11171119

1118-
<p>This property does not apply to floats.
1119-
11201120
<h3 id=align-self-property><span class=secno>5.2. </span> Block/Cross-Axis
11211121
Alignment: the ‘<a href="#align-self"><code
11221122
class=property>align-self</code></a>’ property</h3>
@@ -1196,8 +1196,8 @@ <h3 id=align-self-property><span class=secno>5.2. </span> Block/Cross-Axis
11961196
<dd>
11971197
<p>The ‘<a href="#align-self"><code
11981198
class=property>align-self</code></a>’ property does not apply to
1199-
block-level boxes, because there is more than one item in the <i>block
1200-
axis</i>.
1199+
block-level boxes (including floats), because there is more than one
1200+
item in the <i>block axis</i>.
12011201

12021202
<dt>Absolutely-positioned Boxes:
12031203

css-align/Overview.src.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,8 @@ <h3 id='justify-self-property'>
570570
<p>
571571
The ''stretch'' value is equivalent to ''start'' on block-level boxes.
572572

573+
<p>This property does not apply to floats.
574+
573575

574576
<dt>Absolutely-positioned Boxes:
575577
<dd>
@@ -626,8 +628,6 @@ <h3 id='justify-self-property'>
626628
and the margins provide appropriate spacing from the containing block edges.
627629
</div>
628630

629-
<p>This property does not apply to floats.
630-
631631
<h3 id='align-self-property'>
632632
Block/Cross-Axis Alignment: the 'align-self' property</h3>
633633

@@ -678,7 +678,8 @@ <h3 id='align-self-property'>
678678
<dl>
679679
<dt>Block-level Boxes:
680680
<dd>
681-
<p>The 'align-self' property does not apply to block-level boxes,
681+
<p>The 'align-self' property does not apply to block-level boxes
682+
(including floats),
682683
because there is more than one item in the <i>block axis</i>.
683684

684685
<dt>Absolutely-positioned Boxes:

0 commit comments

Comments
 (0)