Skip to content

Commit e87e02a

Browse files
committed
Added note about further layout steps to handle edge cases better
1 parent 75dfe02 commit e87e02a

2 files changed

Lines changed: 24 additions & 16 deletions

File tree

css3-regions/Overview.html

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,13 @@
224224

225225
<h1 id=css-regions-module>CSS Regions Module Level 3</h1>
226226

227-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 4 April 2012</h2>
227+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 6 April 2012</h2>
228228

229229
<dl>
230230
<dt>This version:
231231

232232
<dd><a
233-
href="http://www.w3.org/TR/2012/ED-css3-regions-20120404/">http://www.w3.org/csswg/css3-regions</a>
233+
href="http://www.w3.org/TR/2012/ED-css3-regions-20120406/">http://www.w3.org/csswg/css3-regions</a>
234234

235235
<dt>Latest version:
236236

@@ -2598,14 +2598,9 @@ <h4 id=regions-boxes-layout><span class=secno>7.2.2. </span>Step 2: regions
25982598
resolution</a> section.
25992599

26002600
<p>If a measure of the content is required to resolve the used height of
2601-
the region box (for example if the region box is absolutely positioned),
2602-
the <span>flow fragment height</span> resolved in Step 1 is used for the
2603-
vertical content measure of the region.
2604-
2605-
<p class=note>The <span>flow fragment height</span> computed in Step 1
2606-
accounts for the generated content and the RFCB. This is why the content
2607-
height of the generated content is not used here in addition to the
2608-
<span>flow fragment height</span>.
2601+
the RFCB (for example if the region box is absolutely positioned), the
2602+
<span>flow fragment height</span> resolved in Step 1 is used for the
2603+
vertical content measure of the RFCB.
26092604

26102605
<p>At the end of this step, regions are laid out and ready to receive
26112606
content from their associated <a href="#named-flow0">named flows</a>.
@@ -2631,6 +2626,15 @@ <h4 id=named-flows-layout><span class=secno>7.2.3. </span>Step 3: named
26312626
<p>During this phase, generated content is laid out according to the <a
26322627
href="#processing-model">rules</a> described earlier in this document.
26332628

2629+
<div class=note>
2630+
<p>The model for resolving auto sized regions will cause, under certain
2631+
circumstances, the flow content to be overset or underset. In other
2632+
words, it will not fit tightly. The model prevents having circular
2633+
dependencies in the layout model. Implementations may decide to apply
2634+
further layout steps to ensure that the whole flow content is displayed
2635+
to the user, even in edge cases.</p>
2636+
</div>
2637+
26342638
<h3 id=regions-visual-formatting-implementation-note><span class=secno>7.3.
26352639
</span>Regions visual formatting: implementation note</h3>
26362640

css3-regions/Overview.src.html

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,13 +2095,9 @@ <h4 id="regions-boxes-layout">Step 2: regions boxes layout</h4>
20952095
<a href="#rfbc-width-resolution">RFCB width resolution</a> section.</p>
20962096

20972097
<p>If a measure of the content
2098-
is required to resolve the used height of the region box (for example if the region box is absolutely positioned),
2098+
is required to resolve the used height of the RFCB (for example if the region box is absolutely positioned),
20992099
the <span>flow fragment height</span> resolved in Step 1 is used for the vertical content measure of the
2100-
region.</p>
2101-
2102-
<p class="note">The <span>flow fragment height</span> computed in Step 1 accounts for the
2103-
generated content and the RFCB. This is why the content height of the generated content
2104-
is not used here in addition to the <span>flow fragment height</span>.</p>
2100+
RFCB.</p>
21052101

21062102
<p>At the end of this step, regions are laid out and ready to receive
21072103
content from their associated <span>named flows</span>.</p>
@@ -2123,6 +2119,14 @@ <h4 id="named-flows-layout">Step 3: named flows layout</h4>
21232119
<a href="#processing-model">rules</a>
21242120
described earlier in this document.</p>
21252121

2122+
<div class="note">
2123+
<p>The model for resolving auto sized regions will cause, under certain circumstances,
2124+
the flow content to be overset or underset. In other words, it will not fit tightly.
2125+
The model prevents having circular dependencies in the layout model. Implementations
2126+
may decide to apply further layout steps to ensure that the whole flow content is
2127+
displayed to the user, even in edge cases.</p>
2128+
</div>
2129+
21262130
<h3 id="regions-visual-formatting-implementation-note">Regions visual formatting: implementation note</h3>
21272131

21282132
<p>The process for resolving an RFCB's 'height' and the three-step process used to

0 commit comments

Comments
 (0)