Skip to content

Commit 82b6280

Browse files
committed
[css-writing-modes] preprocessor fixes
1 parent 8a1d72c commit 82b6280

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

css-writing-modes/Overview.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,7 @@ <h3 data-level=7.1 id=vertical-layout><span class=secno>7.1 </span><span class=c
17081708
and the first row on the right (the <a href=#block-start>block-start</a> side).
17091709
The table's <a class=property data-link-type=propdesc href=http://www.w3.org/TR/CSS21/box.html#propdef-margin-right title=margin-right>margin-right</a> and <a class=property data-link-type=propdesc href=http://www.w3.org/TR/CSS21/box.html#propdef-margin-left title=margin-left>margin-left</a> would collapse
17101710
with margins before (on the right) and after (on the left) the table, respectively,
1711-
and if the table had <span class=css data-link-type=maybe>auto</span> values for <a class=property data-link-type=propdesc href=http://www.w3.org/TR/CSS21/box.html#propdef-margin-top title=margin-top>margin-top</a> and <a class=property data-link-type=propdesc href=http://www.w3.org/TR/CSS21/box.html#propdef-margin-bottom title=margin-bottom>margin-bottom</a>
1711+
and if the table had <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-grid-1/#grid-placement-auto>auto</a> values for <a class=property data-link-type=propdesc href=http://www.w3.org/TR/CSS21/box.html#propdef-margin-top title=margin-top>margin-top</a> and <a class=property data-link-type=propdesc href=http://www.w3.org/TR/CSS21/box.html#propdef-margin-bottom title=margin-bottom>margin-bottom</a>
17121712
it would be centered vertically within its block flow.
17131713
<div class=figure>
17141714
<p><a href=diagrams/vertical-table.svg>
@@ -1823,7 +1823,7 @@ <h3 data-level=7.3 id=orthogonal-flows><span class=secno>7.3 </span><span class=
18231823
<em>containing block</em>.
18241824
</ul>
18251825

1826-
<p>Since <span class=css data-link-type=maybe>auto</span> margins are resolved consistent with the containing
1826+
<p>Since <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-grid-1/#grid-placement-auto>auto</a> margins are resolved consistent with the containing
18271827
block's writing mode, a box establishing an <a href=#orthogonal-flow>orthogonal flow</a> can,
18281828
once sized, be aligned or centered within its containing block just
18291829
like other block-level elements by using auto margins.
@@ -1855,7 +1855,7 @@ <h4 data-level=7.3.1 id=orthogonal-auto><span class=secno>7.3.1 </span><span cla
18551855

18561856
<p>It is common in CSS for a containing block to have a definite
18571857
measure, but not a definite extent. This typically happens in
1858-
CSS2.1 when a containing block has an <span class=css data-link-type=maybe>auto</span> height, for
1858+
CSS2.1 when a containing block has an <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-grid-1/#grid-placement-auto>auto</a> height, for
18591859
example: its width is given by the calculations in
18601860
<a href=http://www.w3.org/TR/CSS21/visudet.html#blockwidth>10.3.3</a>,
18611861
but its extent depends on its contents. In such cases the
@@ -1869,7 +1869,7 @@ <h4 data-level=7.3.1 id=orthogonal-auto><span class=secno>7.3.1 </span><span cla
18691869
measure</a> to be indefinite. In such cases a percentage of the
18701870
containing block measure cannot be defined, and inline-axis
18711871
computations cannot be resolved. In these cases, the initial
1872-
containing block's size is used as a <i>fallback</i> variable
1872+
containing block's size is used as a <a href=http://dev.w3.org/csswg/css-sizing-3/#fallback-size>fallback</a> variable
18731873
in place of the <a href=http://dev.w3.org/csswg/css-sizing-3/#available>available measure</a> for calculations that
18741874
require a definite <a href=http://dev.w3.org/csswg/css-sizing-3/#available>available measure</a>.
18751875

@@ -1882,7 +1882,7 @@ <h4 data-level=7.3.2 id=auto-formula><span class=secno>7.3.2 </span><span class=
18821882
<p>
18831883
If the UA does not support CSS Multi-column Layout <a data-biblio-type=normative data-link-type=biblio href=#css3col title=CSS3COL>[CSS3COL]</a>
18841884
and the element is a block container,
1885-
when the computed measure of the element establishing an orthogonal flow is <span class=css data-link-type=maybe>auto</span>,
1885+
when the computed measure of the element establishing an orthogonal flow is <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-grid-1/#grid-placement-auto>auto</a>,
18861886
then the used inner measure is calculated as:
18871887

18881888
<p>
@@ -1913,30 +1913,30 @@ <h4 data-level=7.3.3 id=auto-multicol><span class=secno>7.3.3 </span><span class
19131913
If the UA supports CSS Multi-column Layout <a data-biblio-type=normative data-link-type=biblio href=#css3col title=CSS3COL>[CSS3COL]</a>
19141914
and the element is a block container or multi-column element,
19151915
for the case where the element's extent or available extent is
1916-
<a href=http://dev.w3.org/csswg/css-sizing-3/#definite>definite</a> but the element's measure is <span class=css data-link-type=maybe>auto</span>:
1916+
<a href=http://dev.w3.org/csswg/css-sizing-3/#definite>definite</a> but the element's measure is <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-grid-1/#grid-placement-auto>auto</a>:
19171917

19181918
<ol>
19191919
<li>
1920-
If <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-multicol-1/#column-count title=column-count>column-count</a> and <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-multicol-1/#column-width title=column-width>column-width</a> are both <span class=css data-link-type=maybe>auto</span>,
1920+
If <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-multicol-1/#column-count title=column-count>column-count</a> and <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-multicol-1/#column-width title=column-width>column-width</a> are both <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-grid-1/#grid-placement-auto>auto</a>,
19211921
calculate the used <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-multicol-1/#column-width title=column-width>column-width</a> as
1922-
the inner measure for <span class=css data-link-type=maybe>auto</span>-sized elements, as defined above.
1922+
the inner measure for <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-grid-1/#grid-placement-auto>auto</a>-sized elements, as defined above.
19231923
<li>
19241924
If the columns' extent is <a href=http://dev.w3.org/csswg/css-sizing-3/#indefinite>indefinite</a>,
1925-
the <i>fill-available extent</i> of the element is used.
1925+
the <a href=http://dev.w3.org/csswg/css-sizing-3/#fill-available-extent>fill-available extent</a> of the element is used.
19261926
<li>
19271927
The used <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-multicol-1/#column-count title=column-count>column-count</a> then follows from filling the resulting columns with the element's content.
19281928
</ol>
19291929

19301930
<p>
19311931
The used measure of the resulting multi-column element is then calculated:
19321932
if the content neither line-wraps nor fragments within the multi-column element,
1933-
then the used measure is the <i>max-content measure</i> of the element's contents;
1933+
then the used measure is the <a href=http://dev.w3.org/csswg/css-sizing-3/#max-content-measure>max-content measure</a> of the element's contents;
19341934
else it is calculated from the used <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-multicol-1/#column-width title=column-width>column-width</a>, <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-multicol-1/#column-count title=column-count>column-count</a>, and <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-multicol-1/#column-gap0 title=column-gap>column-gap</a>.
19351935

19361936
<p>
19371937
The used extent of the element is either the used column extent
19381938
(if multiple columns were used)
1939-
or the <i>max-content extent</i> of the content.
1939+
or the <a href=http://dev.w3.org/csswg/css-sizing-3/#max-content-extent>max-content extent</a> of the content.
19401940

19411941
<p class=note>This should behave the same as the auto-sizing algorithm
19421942
defined in the previous section, except overflowing content, instead of
@@ -1959,7 +1959,7 @@ <h4 data-level=7.3.4 id=orthogonal-layout><span class=secno>7.3.4 </span><span c
19591959
<p> <ul>
19601960
<li>A table or flex container establishing an orthogonal flow is laid out into the given <a href=http://dev.w3.org/csswg/css-sizing-3/#available>available space</a>.
19611961
If the <a href=http://dev.w3.org/csswg/css-sizing-3/#available>available measure</a> is infinite, this effectively lays the element out at its max-content size.
1962-
However, any table cells or <i>flex items</i> that are <i>block containers</i> are laid out assuming infinite <a href=http://dev.w3.org/csswg/css-sizing-3/#available>available space</a>
1962+
However, any table cells or <a href=http://dev.w3.org/csswg/css-flexbox-1/#flex-item>flex items</a> that are <i>block containers</i> are laid out assuming infinite <a href=http://dev.w3.org/csswg/css-sizing-3/#available>available space</a>
19631963
and so behave accordingly, possibly limiting their <a href=#measure>measure</a> to the size of the initial containing block
19641964
or triggering multi-column layout so that they grow in the direction of the infinite measure.
19651965
</ul>
@@ -2466,7 +2466,7 @@ <h3 class=no-num id=changes-201109><span class=content>
24662466
<li>Removed concept of "typographic modes".
24672467
<li>Altered <a href=#orthogonal-auto>orthogonal sizing</a>
24682468
to take into account the fill-available size; now the minimum of the
2469-
fill-available and ICB size is used to resolve <span class=css data-link-type=maybe>auto</span> sizes.
2469+
fill-available and ICB size is used to resolve <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-grid-1/#grid-placement-auto>auto</a> sizes.
24702470
<li>Renamed <span class=css data-link-type=maybe>digits</span> to <span class=css data-link-type=maybe>numeric</span> and <span class=css data-link-type=maybe>ascii-digits</span> to <span class=css data-link-type=maybe>digits</span> for <a class=property data-link-type=propdesc href=#propdef-text-combine-horizontal title=text-combine-horizontal>text-combine-horizontal</a>.
24712471
<li>Defined interaction of <a class=property data-link-type=propdesc href=#propdef-text-combine-horizontal title=text-combine-horizontal>text-combine-horizontal</a> and <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-text-3/#text-transform0 title=text-transform>text-transform</a>.
24722472
</ul>

0 commit comments

Comments
 (0)