Skip to content

Commit 1bec6df

Browse files
committed
[css2] Fixed statements about min/max widths based on Hakon comments, put in CSS1-like statement about minimum widths imposed by UA
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401075
1 parent c2c7b37 commit 1bec6df

1 file changed

Lines changed: 17 additions & 12 deletions

File tree

css2/visudet.src

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: visudet.src,v 2.8 1998-02-21 04:32:43 ijacobs Exp $ -->
3+
<!-- $Id: visudet.src,v 2.9 1998-02-23 21:22:22 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Visual rendering model details</TITLE>
@@ -760,11 +760,10 @@ box's <a href="cascade.html#computed-value">computed</a> width. (Note
760760
that for other values of <span class="propinst-width">'width'</span>,
761761
the replaced contents may be scaled).
762762

763-
<li>Authors (and user agents) may specify <a
764-
href="#min-max-widths">minimum and maximum</a> computed values for the
765-
<span class="propinst-width">'width'</span> property via the <span
766-
class="propinst-min-width">'min-width'</span> and <span
767-
class="propinst-max-width">'max-width'</span> properties.
763+
<li><a href="#min-max-widths">Minimum and maximum</a> computed values
764+
for the <span class="propinst-width">'width'</span> property may be
765+
assigned with the <span class="propinst-min-width">'min-width'</span>
766+
and <span class="propinst-max-width">'max-width'</span> properties.
768767
</ol>
769768

770769
<h4><a name="comp-margin-widths">Computing margin widths</a></h4>
@@ -874,6 +873,14 @@ class="propinst-min-width">'min-width'</span>, the computed value of
874873

875874
</OL>
876875

876+
<P>The user agent may define a non-negative minimum value for the
877+
<span class="propinst-width">'width'</span> property (that may vary
878+
from element to element and even depend on other properties). If <span
879+
class="propinst-width">'width'</span> goes below this limit, either
880+
because it was set explicitly, or because it was 'auto' and the rules
881+
below would make it too small, the user agent may use the minimum
882+
value as the computed value.
883+
877884
<H2><a name="box-height">Box height calculations</a></H2>
878885

879886
<P>As discussed in the section on <a
@@ -939,11 +946,10 @@ box's <a href="cascade.html#computed-value">computed</a> height. (Note
939946
that for other values of <span class="propinst-height">'height'</span>,
940947
the replaced contents may be scaled).
941948

942-
<li>Authors (and user agents) may specify <a
943-
href="#min-max-heights">minimum and maximum</a> computed values for the
944-
<span class="propinst-height">'height'</span> property via the <span
945-
class="propinst-min-height">'min-height'</span> and <span
946-
class="propinst-max-height">'max-height'</span> properties.
949+
<li><a href="#min-max-widths">Minimum and maximum</a> computed values
950+
for the <span class="propinst-height">'height'</span> property may be
951+
assigned with the <span class="propinst-min-height">'min-height'</span>
952+
and <span class="propinst-max-height">'max-height'</span> properties.
947953
</ol>
948954

949955
<H3>Height of absolutely positioned elements</H3>
@@ -970,7 +976,6 @@ exactly the height of its <a href="#containing-block">containing block</a>.
970976
class="propinst-min-height">'min-height'</span> and <span
971977
class="propinst-max-height">'max-height'</span></h3>
972978

973-
974979
<P>It is sometimes useful to constrain the height of elements to a
975980
certain range. Two properties offer this functionality:
976981

0 commit comments

Comments
 (0)