Skip to content

Commit e760fa8

Browse files
committed
[css-regions] Bikshed fixes
1 parent ad5bee9 commit e760fa8

2 files changed

Lines changed: 13 additions & 2495 deletions

File tree

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ <h3 id="the-flow-into-property">
390390
are placed into the named flow.
391391
The element or content is said to have
392392
a <dfn id="specified-flow">specified flow</dfn>.
393-
The values ''none'', ''inherit'', ''default'', ''auto'' and ''initial''
393+
The values <code class=css>none</code>, <code class=css>inherit</code>, <code class=css>default</code>, <code class=css>auto</code> and <code class=css>initial</code>
394394
are invalid flow names.
395395
</dd>
396396
</dl>
@@ -583,14 +583,14 @@ <h3 id="flow-from">
583583
</dl>
584584

585585
If the 'content' property computes
586-
to something else than ''normal''
587-
(or ''none'' for a pseudo-element),
586+
to something else than ''content/normal''
587+
(or ''content/none'' for a pseudo-element),
588588
the block container does not become
589589
a <a>CSS Region</a>.
590590
If the 'display' property
591591
of the block container
592592
or one of its ancestors
593-
computes to ''none'',
593+
computes to ''display/none'',
594594
the block container does not become
595595
a <a>CSS Region</a>.
596596

@@ -603,7 +603,7 @@ <h3 id="flow-from">
603603
Block container pseudo-elements where
604604
the value of 'flow-from' computes to an
605605
<a href="http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier">&lt;ident&gt;</a>
606-
and the value of 'content' computes to ''none''
606+
and the value of 'content' computes to ''content/none''
607607
are generated as <a>CSS Regions</a>,
608608
which is an update to the behavior
609609
described in [[!CSS21]].
@@ -1071,7 +1071,7 @@ <h3 id="the-namedflow-interface">
10711071
that are in the <code>NULL</code> state.
10721072

10731073
The
1074-
<dfn interface><code class="idl">NamedFlowMap</code></dfn>
1074+
{{NamedFlowMap}}
10751075
interface provides a map of current
10761076
<a idl>NamedFlow</a> instances
10771077
in the document.
@@ -1107,7 +1107,7 @@ <h3 id="the-namedflow-interface">
11071107
uses the rest of the default map
11081108
<a href="http://dev.w3.org/2006/webapi/WebIDL/#es-map-members">class methods</a>.
11091109

1110-
The <dfn interface><code class="idl">NamedFlow</code></dfn>
1110+
The {{NamedFlow}}
11111111
interface offers a representation
11121112
of a <a>named flow</a> instance.
11131113

@@ -1214,7 +1214,7 @@ <h3 id="the-namedflow-interface">
12141214
<h3 id="the-region-interface">
12151215
The Region interface</h3>
12161216

1217-
The <dfn interface><code class="idl">Region</code></dfn>
1217+
The {{Region}}
12181218
interface is a
12191219
<a href="http://www.w3.org/TR/WebIDL/#idl-implements-statements">supplemental interface</a>
12201220
which must be implemented by all objects
@@ -1338,7 +1338,7 @@ <h3 id="the-region-interface">
13381338
if the 'flow-from' property
13391339
on the corresponding pseudo-element,
13401340
element or other construct
1341-
becomes ''none''
1341+
becomes ''flow-from/none''
13421342
but a script is still holding
13431343
a reference to the <a idl>Region</a> object.
13441344

@@ -1661,7 +1661,7 @@ <h3 id="regions-flow-content-box">
16611661

16621662
The <span>RFCB</span> is a
16631663
<a href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">block container box</a>
1664-
with a computed 'width' of ''auto'' and whose used 'height' is resolved as detailed below.
1664+
with a computed 'width' of ''width/auto'' and whose used 'height' is resolved as detailed below.
16651665

16661666
Since the <span>RFCB</span> is a <a href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">block container box</a>, the ::before box and ::after box will also be block containers, though the contents of ::before and ::after may be inline within those boxes.
16671667

@@ -1923,15 +1923,15 @@ <h4 id="step1-phase1-example">
19231923
Step 1 - Phase 1: Laying out RFCBs with used height of zero</h4>
19241924

19251925
Applying the rules for Step 1, Phase 1,
1926-
the computed ''auto'' 'width' values for the RFCBs are resolved
1926+
the computed ''width/auto'' 'width' values for the RFCBs are resolved
19271927
to used values according to the normal
19281928
<a href="http://www.w3.org/TR/CSS2/visudet.html#Computing_widths_and_margins">CSS layout rules</a>
19291929
meaning they stretch to the width
19301930
of their containing block's content box.
19311931

19321932
<ol>
19331933
<li>RFCB-A: stretches to fit the rA content box.
1934-
<p>Since rA also has an ''auto'' 'width', its own used 'width' is stretched to fit the
1934+
<p>Since rA also has an ''width/auto'' 'width', its own used 'width' is stretched to fit the
19351935
<code>&lt;body&gt;</code> content box.</p>
19361936
</li>
19371937
<li>RFCB-B: stretches to fit the <code>rB</code> content box.</li>
@@ -1959,7 +1959,7 @@ <h4 id="step1-phase2-example">
19591959

19601960
The user agent lays out as much
19611961
of the flow into an area with RFCB-A's used 'width'.
1962-
rA's 'height' computes to ''auto''
1962+
rA's 'height' computes to ''width/auto''
19631963
and there is no vertical maximum height for RFCA's 'height'.
19641964
However, because there is a break after the first paragraph
19651965
in the "article" <code>named flow</code>,

0 commit comments

Comments
 (0)