@@ -112,15 +112,15 @@ Introduction</h2>
112
112
113
113
<figure style="float:left; margin:1em;">
114
114
<img alt="Article and aside rendering without CSS Regions"
115
- src="images/linked-boxes-before.png"/ >
115
+ src="images/linked-boxes-before.png">
116
116
<figcaption>
117
117
Rendering without CSS Regions
118
118
</figcaption>
119
119
</figure>
120
120
121
121
<figure style="float:left; margin:1em;">
122
122
<img alt="Article and aside rendering with CSS Regions"
123
- src="images/linked-boxes-after.png"/ >
123
+ src="images/linked-boxes-after.png">
124
124
<figcaption>
125
125
Rendering with CSS Regions
126
126
</figcaption>
@@ -164,15 +164,15 @@ Introduction</h2>
164
164
165
165
<figure>
166
166
<img alt="Wide nav bar showing all of the links"
167
- src="images/menu-wide.png"/ >
167
+ src="images/menu-wide.png">
168
168
<figcaption>
169
169
Wide rendering with menu shown
170
170
</figcaption>
171
171
</figure>
172
172
173
173
<figure>
174
174
<img alt="Narrow nav bar with some of the links in the menu"
175
- src="images/menu-narrow.png"/ >
175
+ src="images/menu-narrow.png">
176
176
<figcaption>
177
177
Narrow rendering with menu shown
178
178
</figcaption>
@@ -381,32 +381,32 @@ The 'flow-into' property</h3>
381
381
382
382
<pre class='propdef'>
383
383
Name : flow-into
384
- Value : none | <<ident>> [element | content]?
384
+ Value : none | <<custom- ident>> [element | content]?
385
385
Initial : none
386
386
Applies To : All elements, but not <a href="https://www.w3.org/TR/selectors/#pseudo-elements">pseudo-elements</a> such as <code>::first-line</code>, <code>::first-letter</code>, <code>::before</code> or <code>::after</code>.
387
387
Inherited : no
388
388
Computed Value : as specified
389
389
Animation type : not animatable
390
390
</pre>
391
391
392
- <dl>
393
- <dt> none</dt>
392
+ <dl dfn-type=value dfn-for=flow-into >
393
+ <dt> <dfn> none</dfn> </dt>
394
394
395
395
<dd>
396
396
The element is not moved
397
397
to a <a>named flow</a>
398
398
and normal CSS processing takes place.
399
399
</dd>
400
400
401
- <dt> <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier">< ident></a > </dt>
401
+ <dt><code> <<custom- ident>> [ element | content ] ? </code ></dt>
402
402
403
403
<dd>
404
404
If the keyword <dfn>element</dfn> is present
405
405
or neither keyword is present,
406
406
then the element is taken out
407
407
of its parent's flow
408
408
and placed into the flow
409
- with the name '<a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier">< ident></a >' .
409
+ with the name '<<custom- ident> >' .
410
410
If the keyword <dfn>content</dfn> is present,
411
411
then only the element's contents
412
412
are placed into the named flow.
@@ -468,7 +468,7 @@ The 'flow-into' property</h3>
468
468
469
469
Each <a>CSS Region</a> in a <a>region chain</a>
470
470
establishes a containing block for absolutely positioned
471
- elements in the <a>named flow</a> (see [[!CSS21 ]] ).
471
+ elements in the <a>named flow</a> (see [[!CSS2 ]] ).
472
472
That first <a>CSS Region</a> in a <a>region chain</a>
473
473
establishes the initial containing block for such absolutely
474
474
positioned elements.
@@ -569,38 +569,37 @@ The 'flow-from' property</h3>
569
569
570
570
<pre class='propdef'>
571
571
Name : flow-from
572
- Value : <<ident>> | none
572
+ Value : <<custom- ident>> | none
573
573
Initial : none
574
574
Applies To : Non-replaced <a href="https://www.w3.org/TR/CSS21/visuren.html#block-boxes">block containers</a>. <br/> This might be expanded in future versions of the specification to allow other types of containers to receive flow content.
575
575
Inherited : no
576
576
Computed Value : as specified
577
577
Animation type : not animatable
578
578
</pre>
579
579
580
- <dl>
581
- <dt><strong > none</strong ></dt>
580
+ <dl dfn-type=value dfn-for=flow-from >
581
+ <dt> <dfn >none</dfn > </dt>
582
582
583
583
<dd>
584
584
The block container is not a <a>CSS Region</a> .
585
585
</dd>
586
586
587
- <dt><strong> <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier">< ident></a> </strong ></dt>
587
+ <dt> <<custom- ident> > </dt>
588
588
589
589
<dd>
590
590
The block container becomes a <a>CSS Region</a>
591
591
(except as detailed in the text below),
592
592
and is ordered in a <a>region chain</a>
593
593
according to its document order.
594
- The content from the flow
595
- with the <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier">< ident></a >
594
+ The content from the flow with the
595
+ <<custom- ident> >
596
596
name will be <a href="#region-flow-break">broken
597
597
into fragments</a> and visually formatted in the
598
598
<a href="https://www.w3.org/TR/CSS21/visuren.html#principal-box">principal boxes</a>
599
599
of the <span> regions</span>
600
600
in the <a>region chain</a> .
601
- <br/>
602
- If there is no flow with name
603
- <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier"><ident></a> ,
601
+
602
+ If there is no flow with name <<custom-ident>> ,
604
603
then the block container does not
605
604
format any content visually.
606
605
</dd>
@@ -626,11 +625,11 @@ The 'flow-from' property</h3>
626
625
627
626
Block container pseudo-elements where
628
627
the value of 'flow-from' computes to an
629
- <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier">< ident></a >
628
+ <<custom- ident> >
630
629
and the value of 'content' computes to ''content/none''
631
630
are generated as <a>CSS Regions</a> ,
632
631
which is an update to the behavior
633
- described in [[!CSS21 ]] .
632
+ described in [[!CSS2 ]] .
634
633
635
634
If an element has <a>style containment</a> (See [[!CSS-CONTAIN-1]] ),
636
635
then the 'flow-from' property must be <a for=property>scoped</a> to that element.
@@ -639,7 +638,7 @@ The 'flow-from' property</h3>
639
638
640
639
A block container becomes a <a>CSS Region</a>
641
640
when its 'flow-from' property is set
642
- to a valid <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier">< ident></a > value,
641
+ to a valid <<custom- ident> > value,
643
642
even if there is no content contributing
644
643
to the referenced flow.
645
644
For example:
@@ -739,8 +738,7 @@ The 'flow-from' property</h3>
739
738
Cycle Detection</h4>
740
739
741
740
<a>named flows</a> containing elements
742
- where the value of 'flow-from' computes to an
743
- <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier"><ident></a>
741
+ where the value of 'flow-from' computes to a <<custom-ident>>
744
742
can produce nonsensical circular relationships,
745
743
such as a <a>named flow</a>
746
744
containing <a>CSS Regions</a>
@@ -755,25 +753,20 @@ Cycle Detection</h4>
755
753
<ul>
756
754
<li>
757
755
Every <a>named flow</a> depends on its elements
758
- where the value of 'flow-from' computes to an
759
- <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier"><ident></a> .
756
+ where the value of 'flow-from' computes to a <<custom-ident>> .
760
757
</li>
761
758
<li>
762
759
Every element in a <a>named flow</a>
763
- where the value of 'flow-from' computes to an
764
- <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier"><ident></a>
760
+ where the value of 'flow-from' computes to a <<custom-ident>>
765
761
depends on the <a>named flow</a> with the
766
- <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier"><ident></a>
767
- name.
762
+ <<custom-ident>> name.
768
763
</li>
769
764
</ul>
770
765
771
766
If the graph contains a cycle,
772
767
any elements where the value of 'flow-from'
773
- computes to an
774
- <a href="https://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier"><ident></a>
775
- participating in the cycle
776
- do not become <a>CSS Regions</a> .
768
+ computes to a <<custom-ident>> participating
769
+ in the cycle do not become <a>CSS Regions</a> .
777
770
778
771
<div class="note"><span class="note-prefix"> Note </span>
779
772
@@ -979,7 +972,7 @@ The region-fragment property</h3>
979
972
on the last line,
980
973
the 'overflow' property controls
981
974
the visibility of the overflowing content.
982
- See the 'overflow' property definition ([[CSS21 ]] ).
975
+ See the 'overflow' property definition ([[CSS2 ]] ).
983
976
</div>
984
977
985
978
<h2 id="cssom_view_and_css_regions">
@@ -1610,7 +1603,7 @@ The Region Flow Content Box (RFCB)</h3>
1610
1603
</ul>
1611
1604
1612
1605
<figure>
1613
- <img src="images/RFCB.svg" width=600 alt="The ::before, RFCB and ::after boxes contained in the Region Box"/ >
1606
+ <img src="images/RFCB.svg" width=600 alt="The ::before, RFCB and ::after boxes contained in the Region Box">
1614
1607
<figcaption>
1615
1608
The Region Flow Content Box (RFCB)
1616
1609
</figcaption>
@@ -1631,7 +1624,7 @@ RFCB 'width' resolution</h4>
1631
1624
At various points in the visual formatting of documents containing regions,
1632
1625
the used 'width' of RFCBs and regions need to be resolved.
1633
1626
In all cases, the resolution is done following the rules for
1634
- <a href="https://www.w3.org/TR/CSS2/visudet.html#Computing_widths_and_margins">calculating widths and margins</a> (see [[!CSS21 ]] ).
1627
+ <a href="https://www.w3.org/TR/CSS2/visudet.html#Computing_widths_and_margins">calculating widths and margins</a> (see [[!CSS2 ]] ).
1635
1628
Sometimes, resolving the used 'width' value requires
1636
1629
measuring the content's <code> min-content</code>
1637
1630
and <code> max-content</code> values
@@ -1674,7 +1667,7 @@ Regions visual formatting steps</h3>
1674
1667
</ul>
1675
1668
1676
1669
<figure>
1677
- <img src="images/regions-layout-three-steps.svg" width=600 alt="visual representation of the three-step process"/ >
1670
+ <img src="images/regions-layout-three-steps.svg" width=600 alt="visual representation of the three-step process">
1678
1671
<figcaption>
1679
1672
Regions visual formatting steps
1680
1673
</figcaption>
@@ -1904,7 +1897,7 @@ Step 1 - Phase 1: Laying out RFCBs with used height of zero</h4>
1904
1897
Conceptually, this produces the layout illustrated below.
1905
1898
1906
1899
<figure>
1907
- <img src="images/flow-fragment-height-phase-1.png" width=500 alt="Step 1 - Phase 1: Layout RFCBs with used heights of 0"/ >
1900
+ <img src="images/flow-fragment-height-phase-1.png" width=500 alt="Step 1 - Phase 1: Layout RFCBs with used heights of 0">
1908
1901
<figcaption>
1909
1902
Step 1 - Phase 1: Layout RFCBs with used heights of 0
1910
1903
</figcaption>
@@ -1941,7 +1934,7 @@ Step 1 - Phase 2: Layout flow to compute the RFCBs' flow fragments heights</h4>
1941
1934
This results in a resolved flow fragment height: FH-C.
1942
1935
1943
1936
<figure>
1944
- <img src="images/flow-fragment-height-phase-2.png" width=370 alt="Step 1 - Phase 2: Measure flow fragments heights"/ >
1937
+ <img src="images/flow-fragment-height-phase-2.png" width=370 alt="Step 1 - Phase 2: Measure flow fragments heights">
1945
1938
<figcaption>
1946
1939
Step 1 - Phase 2: Measure flow fragments heights
1947
1940
</figcaption>
@@ -1973,7 +1966,7 @@ Step 2: Layout document and regions without named flows</h4>
1973
1966
FH-C becomes rC's used 'height' .
1974
1967
1975
1968
<figure>
1976
- <img src="images/regions-visual-formatting-step-2.png" width=370 alt="Step 2: Layout document and regions without named flows"/ >
1969
+ <img src="images/regions-visual-formatting-step-2.png" width=370 alt="Step 2: Layout document and regions without named flows">
1977
1970
<figcaption>
1978
1971
Step 2: Layout document and regions without <a>named flows</a>
1979
1972
</figcaption>
@@ -2004,7 +1997,7 @@ Step 3: named flows layout</h4>
2004
1997
computed in Step 1 Phase 2.
2005
1998
2006
1999
<figure>
2007
- <img src="images/regions-visual-formatting-step-3.png" width=370 alt="Step 3: Final result after laying out named flows in regions"/ >
2000
+ <img src="images/regions-visual-formatting-step-3.png" width=370 alt="Step 3: Final result after laying out named flows in regions">
2008
2001
<figcaption>
2009
2002
Step 3: Final result after laying out <a>named flows</a> in regions
2010
2003
</figcaption>
0 commit comments