Skip to content

Commit 98916ae

Browse files
committed
[css-align] Fix id.
1 parent a23a846 commit 98916ae

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

css-align/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ Baseline Content-Alignment</h3>
576576
to match its <a>alignment baseline</a> in that axis up to that of its <a>baseline-sharing group</a>.
577577
This increases the intrinsic size of the box.
578578

579-
<h3 id="overflow-alignment">
579+
<h3 id="overflow-scroll-position">
580580
Overflow and Alignment: scroll positions</h3>
581581

582582
The <a>content distribution properties</a> also affect the initial scroll position,

css-align/Overview.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h2 class="no-num no-toc no-ref heading settled" id=contents><span class=content
142142
<li><a href=#content-distribution><span class=secno>4</span> Content Distribution: the <span class=property data-link-type=propdesc title=justify-content>justify-content</span> and <span class=property data-link-type=propdesc title=align-content>align-content</span> properties</a>
143143
<ul class=toc>
144144
<li><a href=#baseline-align-content><span class=secno>4.1</span> Baseline Content-Alignment</a>
145-
<li><a href=#overflow-alignment><span class=secno>4.2</span> Overflow and Alignment: scroll positions</a></ul>
145+
<li><a href=#overflow-scroll-position><span class=secno>4.2</span> Overflow and Alignment: scroll positions</a></ul>
146146
<li><a href=#self-alignment><span class=secno>5</span> Self-Alignment: Aligning the Box within its Parent</a>
147147
<ul class=toc>
148148
<li><a href=#justify-self-property><span class=secno>5.1</span> Inline/Main-Axis Alignment: the <span class=property data-link-type=propdesc title=justify-self>justify-self</span> property</a>
@@ -559,14 +559,14 @@ <h3 class="heading settled" data-level=3.4 id=overflow-values><span class=secno>
559559
which can’t be scrolled to.</p>
560560

561561
<p>To help combat this problem,
562-
an <dfn data-dfn-type=dfn data-export="" id=overflow-alignment0>overflow alignment<a class=self-link href=#overflow-alignment0></a></dfn> mode can be explicitly specified.
562+
an <dfn data-dfn-type=dfn data-export="" id=overflow-alignment>overflow alignment<a class=self-link href=#overflow-alignment></a></dfn> mode can be explicitly specified.
563563
"True" alignment honors the specified alignment mode in overflow situations, even if it causes data loss,
564564
while "safe" alignment changes the alignment mode in overflow situations in an attempt to avoid data loss.</p>
565565

566-
<p>If the <a data-link-type=dfn href=#overflow-alignment0 title="overflow alignment">overflow alignment</a> isn’t explicitly specified,
567-
the default <a data-link-type=dfn href=#overflow-alignment0 title="overflow alignment">overflow alignment</a> is determined by the layout mode.
568-
Document-centric layout modes, such as block layout, default to "safe" <a data-link-type=dfn href=#overflow-alignment0 title="overflow alignment">overflow alignment</a>,
569-
while design-centric layout modes, such as flex layout, default to "true" <a data-link-type=dfn href=#overflow-alignment0 title="overflow alignment">overflow alignment</a>.</p>
566+
<p>If the <a data-link-type=dfn href=#overflow-alignment title="overflow alignment">overflow alignment</a> isn’t explicitly specified,
567+
the default <a data-link-type=dfn href=#overflow-alignment title="overflow alignment">overflow alignment</a> is determined by the layout mode.
568+
Document-centric layout modes, such as block layout, default to "safe" <a data-link-type=dfn href=#overflow-alignment title="overflow alignment">overflow alignment</a>,
569+
while design-centric layout modes, such as flex layout, default to "true" <a data-link-type=dfn href=#overflow-alignment title="overflow alignment">overflow alignment</a>.</p>
570570

571571
<pre class=prod><dfn class=css data-dfn-type=type data-export="" id=typedef-overflow-position>&lt;overflow-position&gt;<a class=self-link href=#typedef-overflow-position></a></dfn> = true <a class=prod-punc data-link-type=grammar href=http://dev.w3.org/csswg/css-values-3/#comb-one title=|>|</a> safe</pre>
572572

@@ -707,8 +707,8 @@ <h3 class="heading settled" data-level=4.1 id=baseline-align-content><span class
707707
to match its <a data-link-type=dfn href=#alignment-baseline title="alignment baseline">alignment baseline</a> in that axis up to that of its <a data-link-type=dfn href=#baseline-sharing-group title="baseline-sharing group">baseline-sharing group</a>.
708708
This increases the intrinsic size of the box.</p>
709709

710-
<h3 class="heading settled" data-level=4.2 id=overflow-alignment><span class=secno>4.2 </span><span class=content>
711-
Overflow and Alignment: scroll positions</span><a class=self-link href=#overflow-alignment></a></h3>
710+
<h3 class="heading settled" data-level=4.2 id=overflow-scroll-position><span class=secno>4.2 </span><span class=content>
711+
Overflow and Alignment: scroll positions</span><a class=self-link href=#overflow-scroll-position></a></h3>
712712

713713
<p>The <a data-link-type=dfn href=#content-distribution-properties title="content distribution properties">content distribution properties</a> also affect the initial scroll position,
714714
setting it to display the appropriate portion of the scrollable area.
@@ -767,7 +767,7 @@ <h3 class="heading settled" data-level=5.1 id=justify-self-property><span class=
767767
(Note: This is the legacy behavior of HTML <code>align</code>.)
768768
The <a data-link-type=dfn href=#alignment-subject title="alignment subject">alignment subject</a> is the block’s margin box.</p>
769769

770-
<p>The default <a data-link-type=dfn href=#overflow-alignment0 title="overflow alignment">overflow alignment</a> is <a class=css data-link-type=maybe href=#valdef-overflow-position-safe title=safe>safe</a>.
770+
<p>The default <a data-link-type=dfn href=#overflow-alignment title="overflow alignment">overflow alignment</a> is <a class=css data-link-type=maybe href=#valdef-overflow-position-safe title=safe>safe</a>.
771771
In terms of CSS2.1 block-level formatting <a data-biblio-type=normative data-link-type=biblio href=#biblio-css21 title=biblio-CSS21>[CSS21]</a>,
772772
the rules for "over-constrained" computations in <a href=http://www.w3.org/TR/CSS21/visudet.html#blockwidth>section 10.3.3</a>
773773
are ignored in favor of alignment as specified here
@@ -792,7 +792,7 @@ <h3 class="heading settled" data-level=5.1 id=justify-self-property><span class=
792792
as modified by the offset properties (<a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-position-3/#top title=top>top</a>/<a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-position-3/#right title=right>right</a>/<a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-position-3/#bottom title=bottom>bottom</a>/<a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-position-3/#left title=left>left</a>).
793793
The <a data-link-type=dfn href=#alignment-subject title="alignment subject">alignment subject</a> is the box’s margin box.</p>
794794

795-
<p>The default <a data-link-type=dfn href=#overflow-alignment0 title="overflow alignment">overflow alignment</a> is <a class=css data-link-type=maybe href=#valdef-overflow-position-safe title=safe>safe</a>.
795+
<p>The default <a data-link-type=dfn href=#overflow-alignment title="overflow alignment">overflow alignment</a> is <a class=css data-link-type=maybe href=#valdef-overflow-position-safe title=safe>safe</a>.
796796
In terms of CSS2.1 formatting <a data-biblio-type=normative data-link-type=biblio href=#biblio-css21 title=biblio-CSS21>[CSS21]</a>,
797797
the rules for "over-constrained" computations in <a href=http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width>section 10.3.7</a>
798798
are ignored in favor of alignment as specified here
@@ -818,7 +818,7 @@ <h3 class="heading settled" data-level=5.1 id=justify-self-property><span class=
818818

819819
<p>The <a data-link-type=dfn href=#alignment-container title="alignment container">alignment container</a> is the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-grid-1/#grid-cell title="grid cell">grid cell</a>.
820820
The <a data-link-type=dfn href=#alignment-subject title="alignment subject">alignment subject</a> is the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-grid-1/#grid-item title="grid item">grid item</a>’s margin box.
821-
The default <a data-link-type=dfn href=#overflow-alignment0 title="overflow alignment">overflow alignment</a> is <a class=css data-link-type=maybe href=#valdef-overflow-position-true title=true>true</a>.</p>
821+
The default <a data-link-type=dfn href=#overflow-alignment title="overflow alignment">overflow alignment</a> is <a class=css data-link-type=maybe href=#valdef-overflow-position-true title=true>true</a>.</p>
822822
</dl>
823823

824824
<p class=issue id=issue-225803b9><a class=self-link href=#issue-225803b9></a>
@@ -872,7 +872,7 @@ <h3 class="heading settled" data-level=5.2 id=align-self-property><span class=se
872872
as modified by the offset properties (<a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-position-3/#top title=top>top</a>/<a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-position-3/#right title=right>right</a>/<a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-position-3/#bottom title=bottom>bottom</a>/<a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-position-3/#left title=left>left</a>).
873873
The <a data-link-type=dfn href=#alignment-subject title="alignment subject">alignment subject</a> is the box’s margin box.</p>
874874

875-
<p>The default <a data-link-type=dfn href=#overflow-alignment0 title="overflow alignment">overflow alignment</a> is <a class=css data-link-type=maybe href=#valdef-overflow-position-safe title=safe>safe</a>.
875+
<p>The default <a data-link-type=dfn href=#overflow-alignment title="overflow alignment">overflow alignment</a> is <a class=css data-link-type=maybe href=#valdef-overflow-position-safe title=safe>safe</a>.
876876
In terms of CSS2.1 formatting <a data-biblio-type=normative data-link-type=biblio href=#biblio-css21 title=biblio-CSS21>[CSS21]</a>,
877877
the rules for "over-constrained" computations in <a href=http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height>section 10.6.4</a>
878878
are ignored in favor of alignment as specified here
@@ -892,7 +892,7 @@ <h3 class="heading settled" data-level=5.2 id=align-self-property><span class=se
892892

893893
<p>The <a data-link-type=dfn href=#alignment-container title="alignment container">alignment container</a> is the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-flexbox-1/#flex-line title="flex line">flex line</a> the item is in.
894894
The <a data-link-type=dfn href=#alignment-subject title="alignment subject">alignment subject</a> is the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-flexbox-1/#flex-item title="flex item">flex item</a>’s margin box.
895-
The default <a data-link-type=dfn href=#overflow-alignment0 title="overflow alignment">overflow alignment</a> is <a class=css data-link-type=maybe href=#valdef-overflow-position-true title=true>true</a>.
895+
The default <a data-link-type=dfn href=#overflow-alignment title="overflow alignment">overflow alignment</a> is <a class=css data-link-type=maybe href=#valdef-overflow-position-true title=true>true</a>.
896896
See <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3-flexbox title=biblio-CSS3-FLEXBOX>[CSS3-FLEXBOX]</a> for details.</p>
897897

898898
<dt>Grid Items:
@@ -901,7 +901,7 @@ <h3 class="heading settled" data-level=5.2 id=align-self-property><span class=se
901901

902902
<p>The <a data-link-type=dfn href=#alignment-container title="alignment container">alignment container</a> is the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-grid-1/#grid-cell title="grid cell">grid cell</a>.
903903
The <a data-link-type=dfn href=#alignment-subject title="alignment subject">alignment subject</a> is the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-grid-1/#grid-item title="grid item">grid item</a>’s margin box.
904-
The default <a data-link-type=dfn href=#overflow-alignment0 title="overflow alignment">overflow alignment</a> is <a class=css data-link-type=maybe href=#valdef-overflow-position-true title=true>true</a>.</p>
904+
The default <a data-link-type=dfn href=#overflow-alignment title="overflow alignment">overflow alignment</a> is <a class=css data-link-type=maybe href=#valdef-overflow-position-true title=true>true</a>.</p>
905905
</dl>
906906

907907
<h3 class="heading settled" data-level=5.3 id=baseline-align-self><span class=secno>5.3 </span><span class=content>
@@ -1317,7 +1317,7 @@ <h2 class="no-num no-ref heading settled" id=index><span class=content>
13171317
<li>last-baseline self-alignment, <a href=#baseline-self-alignment title="section 5.3">5.3</a>
13181318
<li>left, <a href=#valdef-item-position-content-position-left title="section 3.1">3.1</a>
13191319
<li>legacy, <a href=#valdef-justify-items-legacy title="section 6.1">6.1</a>
1320-
<li>overflow alignment, <a href=#overflow-alignment0 title="section 3.4">3.4</a>
1320+
<li>overflow alignment, <a href=#overflow-alignment title="section 3.4">3.4</a>
13211321
<li>&lt;overflow-position&gt;, <a href=#typedef-overflow-position title="section 3.4">3.4</a>
13221322
<li>right, <a href=#valdef-item-position-content-position-right title="section 3.1">3.1</a>
13231323
<li>safe, <a href=#valdef-overflow-position-safe title="section 3.4">3.4</a>

0 commit comments

Comments
 (0)