Skip to content

Commit c22e887

Browse files
author
Arron Eicholz
committed
Adding missing image
Correct grammar and spelling mistakes Added source for example
1 parent e38925a commit c22e887

4 files changed

Lines changed: 154 additions & 101 deletions

File tree

css3-positioning/Overview.html

Lines changed: 56 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ <h3 id=def-containing-blocks><span class=secno>3.1. </span>Definition of
621621

622622
<li id=on-a-subsequent-page-or>on a subsequent page, or
623623

624-
<li id=may-omit-it-alltogether.>may omit it alltogether.
624+
<li id=may-omit-it-altogether.>may omit it altogether.
625625
</ul>
626626

627627
<p class=note id=note-a-block-level-element-that-is-split> Note, a
@@ -1045,13 +1045,13 @@ <h3 id=fixed-positioning><span class=secno>6.4. </span><span
10451045

10461046
<div class=example>
10471047
<p id=authors-may-use-fixed-positioning-to-cre> Authors may use fixed
1048-
positioning to create following presentation:</p>
1048+
positioning to create the following presentation:</p>
10491049

10501050
<div class=figure>
10511051
<p id=nbspnbspnbspd-> <img alt="Example of frame layout" src=frame.png>
10521052
<span class=dlink>&nbsp;&nbsp;&nbsp;<a
10531053
href="http://www.w3.org/TR/CSS2/images/longdesc/frame-desc.html"
1054-
id=img-anon-block
1054+
id=img-frame
10551055
title="Long description for frame layout example">[D]</a></span></p>
10561056
</div>
10571057

@@ -1111,17 +1111,18 @@ <h3 id=fixed-positioning><span class=secno>6.4. </span><span
11111111
&lt;/body&gt;
11121112
&lt;/html&gt;
11131113
</code></pre>
1114-
</div>
1114+
<span class=slink>&nbsp;&nbsp;&nbsp;<a href=frame-src.html id=frame-source
1115+
title="Source code for frame layout example">[S]</a></span></div>
11151116
<!-- End section: Fixed positioning -->
11161117
<!-- End section: Positioning schemes -->
11171118

11181119
<h3 id=position-property><span class=secno>6.5. </span>Choosing a
11191120
positioning scheme: &lsquo;<a href="#position"><code
11201121
class=property>position</code></a>&rsquo; property</h3>
11211122

1122-
<p id=the-position-property-determine-which-of> The &lsquo;<a
1123+
<p id=the-position-property-determines-which-o> The &lsquo;<a
11231124
href="#position"><code class=property>position</code></a>&rsquo; property
1124-
determine which of the positioning algorithms is used to calculate the
1125+
determines which of the positioning algorithms is used to calculate the
11251126
position of a box.
11261127

11271128
<table class=propdef id=propdef-position>
@@ -1253,7 +1254,7 @@ <h3 id=position-property><span class=secno>6.5. </span>Choosing a
12531254
rel=biblioentry>[CSS3-REGIONS]<!--{{!CSS3-REGIONS}}--></a>.</p>
12541255

12551256
<p class=issue id=there-have-been-some-discussions-about-t> There have
1256-
been some discussions about the naming of the propery value name <a
1257+
been some discussions about the naming of the property value <a
12571258
href="#page" title="'position'!!''page''">&lsquo;<code
12581259
class=css>page</code>&rsquo;</a>. If you have any suggestions please
12591260
email the mailing list.</p>
@@ -1306,14 +1307,13 @@ <h3 id=position-property><span class=secno>6.5. </span>Choosing a
13061307
and &lsquo;<a href="#left"><code class=property>left</code></a>&rsquo;
13071308
properties. The box is vertically and horizontally centered within its <a
13081309
href="#containing-block0">containing block</a> and these properties
1309-
specify offsets with respect to the box&#39;s centered position withing
1310+
specify offsets with respect to the box&#39;s centered position within
13101311
its <a href="#containing-block0">containing block</a>. Center positioned
13111312
boxes are taken out of the normal flow. This means they have no impact on
13121313
the layout of later siblings. Though center positioned boxes may have
13131314
margins, those margins do not <a
13141315
href="http://www.w3.org/TR/CSS2/box.html#collapsing-margins">collapse</a>
13151316
with any other margins.
1316-
<div class=issue> Need a better, more clear, defintion for center.</div>
13171317
</dl>
13181318

13191319
<p id=in-previous-versions-of-css-user-agents-> In previous versions of CSS
@@ -1337,7 +1337,7 @@ <h3 id="position-root">Choosing a different containing block for positioning: 'p
13371337
</tr>
13381338
<tr>
13391339
<th>Value:</th>
1340-
<td><var>auto</var> | <var>parent</var> | <var>container</var> | <var>root</var> | <var>viewport</var> | <var>nth-parent()</var></td>
1340+
<td><var>auto</var> | <var>parent</var> | <var>container</var> | <var>root</var> | <var>viewport</var> | <var>nth-parent()</var> | <var>element()</var></td>
13411341
</tr>
13421342
<tr>
13431343
<th>Initial:</th>
@@ -1398,12 +1398,20 @@ <h3 id="position-root">Choosing a different containing block for positioning: 'p
13981398
'nth-parent()'. Is this really a good concept?
13991399
</p>
14001400
</dd>
1401+
<dt><dfn title="'position-reference'!!''element()''">element()</dfn></dt>
1402+
<dd>
1403+
1404+
<p class="issue">
1405+
Inserting and removing elements from the tree may cause odd behavior with
1406+
'element()'. Is this really a good concept?
1407+
</p>
1408+
</dd>
14011409
</dl>
14021410
-->
14031411

14041412
<p class=issue id=ideas-have-been-raised-to-allow-changing> Ideas have been
14051413
raised to allow changing the positioning containing block or allowing
1406-
positioining and sizing to use different containing blocks.</p>
1414+
positioning and sizing to use different containing blocks.</p>
14071415
<!-- End section: Choosing a different containing block for positioning: 'position-reference' property -->
14081416

14091417
<h3 id=box-offsets-trbl><span class=secno>6.6. </span>Box offsets:
@@ -1485,12 +1493,12 @@ <h3 id=box-offsets-trbl><span class=secno>6.6. </span>Box offsets:
14851493
top edge of the box&#39;s <a href="#containing-block0">containing
14861494
block</a>. For relatively positioned boxes, the offset is with respect to
14871495
the top edges of the box itself (i.e., the box is given a position in the
1488-
<a href="#normal-flow0">normal flow</a>, then offset from that position
1489-
according to these properties). For page positioned boxes, the offset is
1490-
with respect to the top edge of the <span>initial containing block</span>
1491-
itself. For absolutely positioned elements whose containing block is based
1492-
on a block-level element, these properties are an offset from the padding
1493-
edge of that element.
1496+
<a href="#normal-flow0">normal flow</a>, and then offset from that
1497+
position according to these properties). For page positioned boxes, the
1498+
offset is with respect to the top edge of the <span>initial containing
1499+
block</span> itself. For absolutely positioned elements whose containing
1500+
block is based on a block-level element, these properties are an offset
1501+
from the padding edge of that element.
14941502

14951503
<table class=propdef id=propdef-right>
14961504
<tbody>
@@ -2699,8 +2707,7 @@ <h3 id=normal-flow-example><span class=secno>9.1. </span>Normal flow</h3>
26992707
<div class=figure>
27002708
<p id=nbspnbspnbspd-0> <img
27012709
alt="Image illustrating the normal flow of text between parent and sibling boxes."
2702-
src="http://www.w3.org/TR/CSS2/images/flow-generic.png"> <span
2703-
class=dlink>&nbsp;&nbsp;&nbsp;<a
2710+
src=flow-generic.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
27042711
href="http://www.w3.org/TR/CSS2/images/longdesc/flow-generic-desc.html"
27052712
id=img-flow-generic
27062713
title="Long description for normal flow example">[D]</a></span></p>
@@ -2741,8 +2748,7 @@ <h3 id=rel-position><span class=secno>9.2. </span>Relative positioning</h3>
27412748
<div class=figure>
27422749
<p id=nbspnbspnbspd-1> <img
27432750
alt="Image illustrating the effects of relative positioning on a box's content."
2744-
src="http://www.w3.org/TR/CSS2/images/flow-relative.png"> <span
2745-
class=dlink>&nbsp;&nbsp;&nbsp;<a
2751+
src=flow-relative.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
27462752
href="http://www.w3.org/TR/CSS2/images/longdesc/flow-relative-desc.html"
27472753
id=img-flow-relative
27482754
title="Long description for relative positioning example">[D]</a></span></p>
@@ -2778,8 +2784,7 @@ <h3 id=floating-box><span class=secno>9.3. </span>Floating a box</h3>
27782784
<div class=figure>
27792785
<p id=nbspnbspnbspd-2> <img
27802786
alt="Image illustrating the effects of floating a box."
2781-
src="http://www.w3.org/TR/CSS2/images/flow-float.png"> <span
2782-
class=dlink>&nbsp;&nbsp;&nbsp;<a
2787+
src=flow-float.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
27832788
href="http://www.w3.org/TR/CSS2/images/longdesc/flow-float-desc.html"
27842789
id=img-flow-float
27852790
title="Long description of example illustrating floating">[D]</a></span></p>
@@ -2824,8 +2829,7 @@ <h3 id=floating-box><span class=secno>9.3. </span>Floating a box</h3>
28242829
<div class=figure>
28252830
<p id=nbspnbspnbspd-3> <img
28262831
alt="Image illustrating the effects of floating a box without setting the clear property to control the flow of text around the box."
2827-
src="http://www.w3.org/TR/CSS2/images/flow-clear.png"> <span
2828-
class=dlink>&nbsp;&nbsp;&nbsp;<a
2832+
src=flow-clear.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
28292833
href="http://www.w3.org/TR/CSS2/images/longdesc/flow-clear-desc.html"
28302834
id=img-flow-clear
28312835
title="Long description of example illustrating floating without clear">[D]</a></span>
@@ -2850,8 +2854,7 @@ <h3 id=floating-box><span class=secno>9.3. </span>Floating a box</h3>
28502854
<div class=figure>
28512855
<p id=nbspnbspnbspd-4> <img
28522856
alt="Image illustrating the effects of floating an element with setting the clear property to control the flow of text around the element."
2853-
src="http://www.w3.org/TR/CSS2/images/flow-clear2.png"> <span
2854-
class=dlink>&nbsp;&nbsp;&nbsp;<a
2857+
src=flow-clear2.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
28552858
href="http://www.w3.org/TR/CSS2/images/longdesc/flow-clear2-desc.html"
28562859
id=img-flow-clear2
28572860
title="Long description of example illustrating floating with clear">[D]</a></span>
@@ -2892,8 +2895,7 @@ <h3 id=abs-positioning><span class=secno>9.4. </span>Absolute positioning</h3>
28922895
<div class=figure>
28932896
<p id=nbspnbspnbspd-5> <img
28942897
alt="Image illustrating the effects of absolutely positioning a box."
2895-
src="http://www.w3.org/TR/CSS2/images/flow-absolute.png"> <span
2896-
class=dlink>&nbsp;&nbsp;&nbsp;<a
2898+
src=flow-absolute.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
28972899
href="http://www.w3.org/TR/CSS2/images/longdesc/flow-absolute-desc.html"
28982900
id=img-flow-absolute
28992901
title="Long description for example illustrating absolute positioning">[D]</a></span>
@@ -2935,8 +2937,7 @@ <h3 id=abs-positioning><span class=secno>9.4. </span>Absolute positioning</h3>
29352937
<div class=figure>
29362938
<p id=nbspnbspnbspd-6> <img
29372939
alt="Image illustrating the effects of absolutely positioning a box with respect to a containing block."
2938-
src="http://www.w3.org/TR/CSS2/images/flow-abs-rel.png"> <span
2939-
class=dlink>&nbsp;&nbsp;&nbsp;<a
2940+
src=flow-abs-rel.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
29402941
href="http://www.w3.org/TR/CSS2/images/longdesc/flow-abs-rel-desc.html"
29412942
id=img-flow-abs-rel
29422943
title="Long description for example illustrating positioning with respect to a positioned ancestor">[D]</a></span>
@@ -2967,8 +2968,7 @@ <h3 id=abs-positioning><span class=secno>9.4. </span>Absolute positioning</h3>
29672968
<div class=figure>
29682969
<p id=nbspnbspnbspd-7> <img
29692970
alt="Image illustrating the effects of absolutely positioning a box with respect to a containing block established by a normally positioned parent."
2970-
src="http://www.w3.org/TR/CSS2/images/flow-static.png"> <span
2971-
class=dlink>&nbsp;&nbsp;&nbsp;<a
2971+
src=flow-static.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
29722972
href="http://www.w3.org/TR/CSS2/images/longdesc/flow-static-desc.html"
29732973
id=img-flow-static
29742974
title="Long description illustrating absolute positioning with respect to the initial containing block">[D]</a></span>
@@ -2994,8 +2994,7 @@ <h3 id=abs-positioning><span class=secno>9.4. </span>Absolute positioning</h3>
29942994
<div class=figure>
29952995
<p id=nbspnbspnbspd-8> <img
29962996
alt="Image illustrating the use of floats to create a changebar effect."
2997-
src="http://www.w3.org/TR/CSS2/images/changebar.png"> <span
2998-
class=dlink>&nbsp;&nbsp;&nbsp;<a
2997+
src=changebar.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
29992998
href="http://www.w3.org/TR/CSS2/images/longdesc/changebar-desc.html"
30002999
id=img-changebar
30013000
title="Long description for change bar example">[D]</a></span></p>
@@ -3047,10 +3046,9 @@ <h3 id=page-pos><span class=secno>9.5. </span>Page positioning</h3>
30473046
<div class=figure>
30483047
<p id=nbspnbspnbspd-9> <img
30493048
alt="Image illustrating the effects of absolutely positioning a box."
3050-
src="http://www.w3.org/TR/CSS2/images/flow-absolute.png"> <span
3051-
class=dlink>&nbsp;&nbsp;&nbsp;<a
3049+
src=flow-absolute.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
30523050
href="http://www.w3.org/TR/CSS2/images/longdesc/flow-absolute-desc.html"
3053-
id=img-flow-absolute
3051+
id=img-flow-absolute2
30543052
title="Long description for example illustrating absolute positioning">[D]</a></span>
30553053
</p>
30563054
</div>
@@ -3060,14 +3058,14 @@ <h3 id=page-pos><span class=secno>9.5. </span>Page positioning</h3>
30603058
Although the parent <em>outer box</em> is setting its &lsquo;<a
30613059
href="#position"><code class=property>position</code></a>&rsquo; property
30623060
to <a href="#relative" title="'position'!!''relative''">&lsquo;<code
3063-
class=css>relative</code>&rsquo;</a> this <em>outer box</em> box does not
3061+
class=css>relative</code>&rsquo;</a> this <em>outer box</em> does not
30643062
serve as the containing block for page positioned descendants. Since the
30653063
<em>inner</em> box is a page positioned element its <a
30663064
href="#containing-block0">containing block</a> is not the <a
30673065
href="#relative-positioning1" title="relative positioning">relative
3068-
positioned</a> <em>outer box</em> box, page positioned elements are
3069-
positioned from the <span>initial containing block</span>, in this case
3070-
the top and left edges of the illustration itself.
3066+
positioned</a> <em>outer box</em>, page positioned elements are positioned
3067+
from the <span>initial containing block</span>, in this case the top and
3068+
left edges of the illustration itself.
30713069

30723070
<div class=example>
30733071
<pre><code class=css>
@@ -3090,10 +3088,9 @@ <h3 id=page-pos><span class=secno>9.5. </span>Page positioning</h3>
30903088
<div class=figure>
30913089
<p id=nbspnbspnbspd-10> <img
30923090
alt="Image illustrating the effects of page positioning a box with respect to the initial containing block."
3093-
src="http://www.w3.org/TR/CSS2/images/flow-static.png"> <span
3094-
class=dlink>&nbsp;&nbsp;&nbsp;<a
3091+
src=flow-static.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
30953092
href="http://www.w3.org/TR/CSS2/images/longdesc/flow-static-desc.html"
3096-
id=img-flow-static
3093+
id=img-flow-static2
30973094
title="Long description illustrating page positioning with respect to the initial containing block.">[D]</a></span>
30983095
</p>
30993096
</div>
@@ -3121,10 +3118,9 @@ <h3 id=page-pos><span class=secno>9.5. </span>Page positioning</h3>
31213118
<div class=figure>
31223119
<p id=nbspnbspnbspd-11> <img
31233120
alt="Image illustrating the effects of page positioning a box with respect to the initial containing block."
3124-
src="http://www.w3.org/TR/CSS2/images/flow-static.png"> <span
3125-
class=dlink>&nbsp;&nbsp;&nbsp;<a
3121+
src=flow-static.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
31263122
href="http://www.w3.org/TR/CSS2/images/longdesc/flow-static-desc.html"
3127-
id=img-flow-static
3123+
id=img-flow-static3
31283124
title="Long description illustrating page positioning with respect to the initial containing block.">[D]</a></span>
31293125
</p>
31303126
</div>
@@ -3255,10 +3251,9 @@ <h2 id=clip-property><span class=secno>10. </span>Clipping: the &lsquo;<a
32553251

32563252
<div class=figure>
32573253
<p id=nbspnbspnbspd-12> <img alt="diagram of rect() vs inset-rect()"
3258-
src="http://www.w3.org/TR/2002/WD-css3-box-20021024/clip.png"> <span
3259-
class=dlink>&nbsp;&nbsp;&nbsp;<a
3254+
src=clip.png> <span class=dlink>&nbsp;&nbsp;&nbsp;<a
32603255
href="http://www.w3.org/TR/CSS2/images/longdesc/rect-inset-rect-desc.html"
3261-
name=img-flow-static
3256+
id=img-clip
32623257
title="Long description illustrating the differences between the rect() and inset() values.">[D]</a></span>
32633258
</p>
32643259

@@ -3300,11 +3295,10 @@ <h2 id=clip-property><span class=secno>10. </span>Clipping: the &lsquo;<a
33003295
delimited by the dashed lines in the following illustrations:</p>
33013296

33023297
<div class=figure>
3303-
<p id=nbspnbspnbspd><img alt="Two clipping regions"
3304-
src="http://www.w3.org/TR/CSS2/images/clip.png"> <span
3305-
class=dlink>&nbsp;&nbsp;&nbsp;<a
3298+
<p id=nbspnbspnbspd><img alt="Two clipping regions" src="clip_002.png">
3299+
<span class=dlink>&nbsp;&nbsp;&nbsp;<a
33063300
href="http://www.w3.org/TR/CSS2/images/longdesc/clip-desc.html"
3307-
name=img-clip
3301+
id="img-clip_002"
33083302
title="Long description for example of clipping region">[D]</a></span></p>
33093303
</div>
33103304

@@ -3319,11 +3313,9 @@ <h2 id=clip-property><span class=secno>10. </span>Clipping: the &lsquo;<a
33193313
illustration:</p>
33203314

33213315
<div class=figure>
3322-
<p id=d-><img alt="A clipping region"
3323-
src="http://www.w3.org/TR/2001/WD-css3-box-20010726/clip2.png"> <span
3324-
class=dlink><a
3316+
<p id=d-><img alt="A clipping region" src=clip2.png> <span class=dlink><a
33253317
href="http://www.w3.org/TR/CSS2/images/longdesc/clip-desc.html"
3326-
name=img-clip
3318+
id=img-clip2
33273319
title="Long description for example of clipping region">[D]</a></span></p>
33283320

33293321
<p class=caption id=an-image-of-50-by-55-pixels-is-clipped-w>An image of
@@ -3515,7 +3507,7 @@ <h3 id=definitions-stack><span class=secno>12.1. </span>Definitions</h3>
35153507
<dl>
35163508
<dt>Tree Order
35173509

3518-
<dd> Preorder depth-first traversal of the <em>rendering</em> tree, in
3510+
<dd> The preorder depth-first traversal of the <em>rendering</em> tree, in
35193511
logical (not visual) order for bidirectional content, after taking into
35203512
account properties that move boxes around.
35213513

@@ -3554,10 +3546,10 @@ <h3 id=painting-order><span class=secno>12.2. </span>Painting order</h3>
35543546
href="#viewport0">viewport</a> is anchored with its top left corner at the
35553547
canvas origin.
35563548

3557-
<p id=the-painting-order-order-for-the-descend> The painting order order
3558-
for the descendants of an element generating a stacking context (see the
3559-
&lsquo;<a href="#z-index"><code class=property>z-index</code></a>&rsquo;
3560-
property) is:
3549+
<p id=the-painting-order-for-the-descendants-o> The painting order for the
3550+
descendants of an element generating a stacking context (see the &lsquo;<a
3551+
href="#z-index"><code class=property>z-index</code></a>&rsquo; property)
3552+
is:
35613553

35623554
<ol>
35633555
<li id=if-the-element-is-a-root-element-backgro>If the element is a root

0 commit comments

Comments
 (0)