Skip to content

Commit 5729105

Browse files
committed
[css3-page] Define outer width as the width of the outer edge.
1 parent adf7653 commit 5729105

2 files changed

Lines changed: 21 additions & 8 deletions

File tree

css3-page/Overview.html

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,17 +1452,24 @@ <h4 id=margin-box-terms><span class=secno>6.3.1. </span><a
14521452
is used when calculating dimensions of the left and right page-margin
14531453
boxes.
14541454

1455+
<dt><dfn id=outer-width>outer width</dfn>
1456+
1457+
<dd>The width of the <a
1458+
href="http://www.w3.org/TR/CSS21/box.html#outer-edge">outer edge</a>, as
1459+
defined in <a href="#CSS21"
1460+
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>.
1461+
14551462
<dt><dfn id=outer-min-width>outer min width</dfn>
14561463

1457-
<dd>Like the <i>outer width</i>, except that <a
1458-
href="http://www.w3.org/TR/css3-sizing/#min-content"><code
1464+
<dd>Like the <a href="#outer-width"><i>outer width</i></a>, except that
1465+
<a href="http://www.w3.org/TR/css3-sizing/#min-content"><code
14591466
class=css>min-content</code></a> is used when the width is ‘<code
14601467
class=css>auto</code>’.
14611468

14621469
<dt><dfn id=outer-max-width>outer max width</dfn>
14631470

1464-
<dd>Like the <i>outer width</i>, except that <a
1465-
href="http://www.w3.org/TR/css3-sizing/#max-content"><code
1471+
<dd>Like the <a href="#outer-width"><i>outer width</i></a>, except that
1472+
<a href="http://www.w3.org/TR/css3-sizing/#max-content"><code
14661473
class=css>max-content</code></a> is used when ‘<code
14671474
class=property>width</code>’ is ‘<code class=css>auto</code>’.
14681475
</dl>
@@ -1501,8 +1508,8 @@ <h5 id=variable-auto-sizing><span class=secno>6.3.2.2. </span>Resolving
15011508

15021509
<p>The following algorithm determines the used width of each box. For this
15031510
purpose, boxes that are not <a href="#generated"><i>generated</i></a> are
1504-
assumed to have a ‘<code class=property>width</code>’ and an <i>outer
1505-
width</i> of zero.
1511+
assumed to have a ‘<code class=property>width</code>’ and an <a
1512+
href="#outer-width"><i>outer width</i></a> of zero.
15061513

15071514
<p class=note> Note: The high-level goals are (in order of priority) to
15081515
center the middle box (B) if it is generated, to minimize overflow and
@@ -1514,8 +1521,9 @@ <h5 id=variable-auto-sizing><span class=secno>6.3.2.2. </span>Resolving
15141521

15151522
<ul>
15161523
<li> If only one box has ‘<code class=css>width: auto</code>’, its
1517-
used width is resolved so that the sum of the <i>outer width</i>s equals
1518-
<a href="#available-width"><i>available width</i></a>.
1524+
used width is resolved so that the sum of the <a
1525+
href="#outer-width"><i>outer width</i></a>s equals <a
1526+
href="#available-width"><i>available width</i></a>.
15191527

15201528
<li id=flex-fit> If A and C both have ‘<code class=css>width:
15211529
auto</code>’, distribute the space to each box as follows:

css3-page/Overview.src.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,11 @@ <h4 id="margin-box-terms"><a id="max-margin-dimension"></a>Page-Margin Box Layou
10921092
This quantity is used when calculating dimensions
10931093
of the left and right page-margin boxes.
10941094

1095+
<dt><dfn>outer width</dfn></dt>
1096+
<dd>The width of the
1097+
<a href="http://www.w3.org/TR/CSS21/box.html#outer-edge">outer edge</a>,
1098+
as defined in [[!CSS21]].
1099+
10951100
<dt><dfn>outer min width</dfn></dt>
10961101
<dd>Like the <i>outer width</i>, except that
10971102
<a href="http://www.w3.org/TR/css3-sizing/#min-content">''min-content''</a>

0 commit comments

Comments
 (0)