Skip to content

Commit 74ec739

Browse files
committed
[css2] Processed issues 60a, 62, 64, 67, 79 and 70
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402196
1 parent d636815 commit 74ec739

3 files changed

Lines changed: 16 additions & 20 deletions

File tree

css2/box.src

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'http://www.w3.org/TR/html4/strict.dtd'>
33

44
<html lang="en">
5-
<!-- $Id: box.src,v 1.49 2003-11-06 23:34:42 bbos Exp $ -->
5+
<!-- $Id: box.src,v 1.50 2003-12-08 16:15:26 bbos Exp $ -->
66
<HEAD>
77
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
88
<TITLE>Box model</TITLE>
@@ -77,16 +77,6 @@ box is a table, etc. Box widths and heights are discussed
7777
in the chapter on <a href="visudet.html">visual formatting
7878
model details</a>.
7979

80-
<!-- removed at ftf 6 Nov 2003
81-
<P>The <span class="index-def" title="box::width"><a
82-
name="the-box-width"><dfn>box width</dfn></a></span> is given by the
83-
sum of the left and right margins, border, and padding, and the
84-
content width. The <span class="index-def" title="box::height"><a
85-
name="the-box-height"><dfn>box height</dfn></a></span> is given by the sum
86-
of the top and bottom margins, border, and padding, and the content
87-
height.
88-
-->
89-
9080
<P>The background style of the content, padding, and border areas of a
9181
box is specified by the <span
9282
class="propinst-background">'background'</span> property of the
@@ -365,11 +355,12 @@ clearance applied to it, its top margin collapses with the adjoining
365355
margins of subsequent siblings but that resulting margin does not
366356
collapse with the bottom margin of the parent block.</p>
367357

368-
<p>Collapsing is based on the <em>computed value</em> of <span
358+
<p>Collapsing is based on the <em>used value</em> of <span
369359
class="propinst-padding">'padding'</span>, <span
370360
class="propinst-margin">'margin'</span>, and <span
371-
class="propinst-border">'border'</span>. The collapsed margin is
372-
calculated over the computed value of the various margins.</p>
361+
class="propinst-border">'border'</span> (i.e., after resolving any
362+
percentages). The collapsed margin is
363+
calculated over the used value of the various margins.</p>
373364

374365
</div>
375366

css2/syndata.src

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
22
"http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
33
<html lang="en">
4-
<!-- $Id: syndata.src,v 2.91 2003-12-05 18:25:10 bbos Exp $ -->
4+
<!-- $Id: syndata.src,v 2.92 2003-12-08 16:15:26 bbos Exp $ -->
55
<head>
66
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
77
<title>Syntax and basic data types</title>
@@ -532,7 +532,8 @@ and their contents have no influence on the rendering. Comments may
532532
not be nested.
533533
</p>
534534
<p>CSS also allows the SGML comment delimiters ("&lt;!--" and
535-
"--&gt;") in certain places, but they do not delimit CSS
535+
"--&gt;") in certain places defined by the grammar, but they do not
536+
delimit CSS
536537
comments. They are permitted so that style rules appearing in an HTML
537538
source document (in the STYLE element) may be hidden from pre-HTML 3.2
538539
user agents. See the HTML 4.0 specification ([[-HTML40]]) for more information.
@@ -640,6 +641,8 @@ h1 { color: blue }
640641
</li>
641642
</ul>
642643

644+
<p>How to handle unparseable and untokenizable stylesheets is
645+
undefined in CSS2.1
643646

644647
<h2><a name="values">Values</a></h2>
645648

css2/visudet.src

Lines changed: 6 additions & 4 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.85 2003-12-01 16:11:33 bbos Exp $ -->
3+
<!-- $Id: visudet.src,v 2.86 2003-12-08 16:15:26 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Visual formatting model details</title>
@@ -757,8 +757,8 @@ class="propinst-height">'height'</span> is:
757757
(intrinsic height) * ( (used width) / (intrinsic width) )
758758
</pre>
759759

760-
<h3>Block-level non-replaced elements in normal
761-
flow when 'overflow' computes to 'visible'</h3>
760+
<h3><a name="normal-block">Block-level non-replaced elements in normal
761+
flow when 'overflow' computes to 'visible'</a></h3>
762762

763763
<p>If <span
764764
class="propinst-margin-top">'margin-top'</span>, or <span
@@ -840,7 +840,9 @@ applies.</p>
840840
<ol>
841841
<li>'top' and 'height' are 'auto' and 'bottom' is not 'auto', then the
842842
height is based on the content, set 'auto' values for 'margin-top' and
843-
'margin-bottom' to 0, and solve for 'top'</li>
843+
'margin-bottom' to 0, and solve for 'top' ("based on the content"
844+
means computed the same as for <a href="#normal-block">block
845+
level elements in normal flow</a>)</li>
844846

845847
<li>'top' and 'bottom' are 'auto' and 'height' is not 'auto', then
846848
set 'top' to the static position, set 'auto' values for 'margin-top'

0 commit comments

Comments
 (0)