Skip to content

Commit 5452889

Browse files
author
Rossen Atanassov
committed
[css-position] Fixed a few HTML validator errors in preparation for WD publishing.
1 parent dcc7ad9 commit 5452889

2 files changed

Lines changed: 3220 additions & 1389 deletions

File tree

css-position/Overview.bs

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Module Interactions</h3>
141141
<li>
142142
<a href="http://www.w3.org/TR/CSS2/visuren.html#absolute-positioning">9.6 Absolute positioning</a>
143143
<li>
144-
<a href="http://www.w3.org/TR/CSS2/visuren.html#dis-pos-flo">9.7 Relationships between 'display', 'position', and 'float'</a>
144+
<a href="http://www.w3.org/TR/CSS2/visuren.html#dis-pos-flo">9.7 Relationships between display, position, and float</a>
145145
<li>
146146
<a href="http://www.w3.org/TR/CSS2/visuren.html#comparison">9.8 Comparison of normal flow, floats, and absolute positioning</a>
147147
<li>
@@ -157,7 +157,7 @@ Module Interactions</h3>
157157
<li>
158158
<a href="http://www.w3.org/TR/CSS2/visudet.html#abs-replaced-height">10.6.5 Absolutely positioned replaced elements</a>
159159
<li>
160-
<a href="http://www.w3.org/TR/CSS2/visudet.html#root-height">10.6.7 ''Auto'' heights for block formatting context roots</a>
160+
<a href="http://www.w3.org/TR/CSS2/visudet.html#root-height">10.6.7 Auto heights for block formatting context roots</a>
161161
<li>
162162
<a href="http://www.w3.org/TR/CSS2/zindex.html">Appendix E. Elaborate description of Stacking Contexts</a>
163163
</ul>
@@ -884,9 +884,8 @@ Choosing a positioning scheme: 'position' property</h3>
884884

885885
<p class="note">
886886
Note, that CSS Regions are also <span title="initial containing block">initial
887-
containing blocks</span>, in accordance with
888-
<a href="http://dev.w3.org/csswg/css3-regions/#flow-into">'flow-into'</a> property
889-
of the CSS Regions Module [[!CSS3-REGIONS]].
887+
containing blocks</span>, in accordance with 'flow-into' property of the
888+
CSS Regions Module [[!CSS3-REGIONS]].
890889
</p>
891890

892891
<dt><dfn title="'position'!!''fixed''">fixed</dfn></dt>
@@ -1137,10 +1136,20 @@ Logical box offsets: 'offset-before', 'offset-end', 'offset-after' and 'offset-s
11371136

11381137
<div class="figure">
11391138
<table id="logical-physical-relations" class="lpr">
1140-
<colgroup>
1141-
<col>
1142-
<col>
1143-
</colgroup>
1139+
<thead>
1140+
<tr>
1141+
<th colspan="2" rowspan="2"></th>
1142+
<td colspan="6">'writing-mode' / 'direction'</td>
1143+
</tr>
1144+
<tr>
1145+
<td>horizontal-tb / ltr</td>
1146+
<td>horizontal-tb / rtl</td>
1147+
<td>vertical-rl / ltr</td>
1148+
<td>vertical-rl / rtl</td>
1149+
<td>vertical-lr / ltr</td>
1150+
<td>vertical-lr / rtl</td>
1151+
</tr>
1152+
</thead>
11441153
<tbody>
11451154
<tr>
11461155
<td rowspan="4"><div>Edge</div></td>
@@ -1180,27 +1189,15 @@ Logical box offsets: 'offset-before', 'offset-end', 'offset-after' and 'offset-s
11801189
<td>offset-before</td>
11811190
</tr>
11821191
</tbody>
1183-
<thead>
1184-
<tr>
1185-
<th colspan="2" rowspan="2"></th>
1186-
<td colspan="6">'writing-mode' / 'direction'</td>
1187-
</tr>
1188-
<tr>
1189-
<td>horizontal-tb / ltr</td>
1190-
<td>horizontal-tb / rtl</td>
1191-
<td>vertical-rl / ltr</td>
1192-
<td>vertical-rl / rtl</td>
1193-
<td>vertical-lr / ltr</td>
1194-
<td>vertical-lr / rtl</td>
1195-
</tr>
1196-
</thead>
11971192
</table>
11981193
<p class="caption">
11991194
Relationship of physical offset edges and the logical properties per
12001195
'writing-mode' and 'direction'.
12011196
</p>
12021197
</div>
12031198

1199+
<p class="issue">The logical property definitions should move to the Logical Properties module.</p>
1200+
12041201
For relatively positioned boxes, the offset is with respect to the property&#39;s
12051202
coresponding physical reference edge of the box itself (i.e., the box is given a
12061203
position in the <a>normal flow</a>, and then offset from that position according
@@ -1606,7 +1603,7 @@ The height of absolute, page or fixed positioned, non-replaced elements</h3>
16061603
<ol>
16071604
<li>
16081605
If 'top' and 'height' are ''auto'' and 'bottom' is not ''auto'', then the height is
1609-
based on the <a href="#root-height">''Auto'' heights for block formatting context
1606+
based on the <a href="#root-height">Auto heights for block formatting context
16101607
roots</a>, and solve for 'top'.
16111608

16121609
<li>
@@ -1615,7 +1612,7 @@ The height of absolute, page or fixed positioned, non-replaced elements</h3>
16151612

16161613
<li>
16171614
If 'height' and 'bottom' are ''auto'' and 'top' is not ''auto'', then the height is
1618-
based on the <a href="#root-height">''Auto'' heights for block formatting context
1615+
based on the <a href="#root-height">Auto heights for block formatting context
16191616
roots</a>, and solve for 'bottom'.
16201617

16211618
<li>
@@ -1642,7 +1639,7 @@ The height of a center positioned, non-replaced elements</h3>
16421639

16431640
If all three of 'top', 'height', and 'bottom' are ''auto'': First set any ''auto''
16441641
values for 'margin-top' and 'margin-bottom' to ''0'', then the height is based on the
1645-
<a href="#root-height">''Auto'' heights for block formatting context roots</a>, and
1642+
<a href="#root-height">Auto heights for block formatting context roots</a>, and
16461643
finally apply rule number <em>two</em> below.
16471644

16481645
If none of the three are ''auto'': If both 'margin-top' and 'margin-bottom' are ''auto'',
@@ -1658,7 +1655,7 @@ The height of a center positioned, non-replaced elements</h3>
16581655
<ol>
16591656
<li>
16601657
If 'top' and 'height' are ''auto'' and 'bottom' is not ''auto'', then the height is
1661-
based on the <a href="#root-height">''Auto'' heights for block formatting context
1658+
based on the <a href="#root-height">Auto heights for block formatting context
16621659
roots</a>, and solve for 'top'.
16631660

16641661
<li>
@@ -1668,7 +1665,7 @@ The height of a center positioned, non-replaced elements</h3>
16681665

16691666
<li>
16701667
If 'height' and 'bottom' are ''auto'' and 'top' is not ''auto'', then the height is
1671-
based on the <a href="#root-height">''Auto'' heights for block formatting context
1668+
based on the <a href="#root-height">Auto heights for block formatting context
16721669
roots</a>, and solve for 'bottom'.
16731670

16741671
<li>

0 commit comments

Comments
 (0)