Skip to content

Commit dbd474a

Browse files
committed
[css2] Issues 60, 62, 63, 64, 65, 66, 70 from http://wiki.csswg.org/spec/css2.1
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402863
1 parent d9dccff commit dbd474a

6 files changed

Lines changed: 31 additions & 19 deletions

File tree

css2/box.src

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'>
22

33
<html lang="en">
4-
<!-- $Id: box.src,v 1.72 2008-10-13 17:55:40 bbos Exp $ -->
4+
<!-- $Id: box.src,v 1.73 2008-12-02 18:50:38 bbos Exp $ -->
55
<HEAD>
66
<TITLE>Box model</TITLE>
77
</HEAD>
@@ -302,8 +302,9 @@ elements that are not related as siblings or ancestors.
302302
href="visuren.html#floats">floated</a> box and any other box do not
303303
collapse (not even between a float and its in-flow children).
304304

305-
<li>Vertical margins of elements with <span
306-
class="propinst-overflow">'overflow'</span> other than 'visible' do
305+
<li>Vertical margins of elements that establish new block formatting
306+
contexts (such as floats and elements with <span
307+
class="propinst-overflow">'overflow'</span> other than 'visible') do
307308
not collapse with their in-flow children.
308309

309310
<li>Margins of <a

css2/cover.src

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,10 @@ the text &#8220;[CSS21]&#8221; in the subject, preferably like
139139
this: &#8220;[CSS21] <em>&hellip;summary of
140140
comment&hellip;</em>&#8221;</p>
141141

142-
<p>A list of changes since
143-
the <a href="/TR/2006/WD-CSS21-20061106">last Working Draft</a> is
144-
available in the
145-
<a href="/Style/css2-updates/issues-4-20061106.html">Disposition of
146-
Comments</a>.</p>
142+
<p>This document incorporates <a
143+
href="/Style/css2-updates/CR-CSS21-20070719-errata.html">
144+
corrections</a> made as a result of implementation experience since
145+
July 2007 (the previous publication).
147146

148147
<p>This document was produced by the <a
149148
href="/Style/CSS/members">CSS Working Group</a> (part

css2/generate.src

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,11 @@ marker box be on the left side of the content and for elements whose
891891
the content. 'overflow' on the element does not clip the marker box.
892892
The marker box is fixed with respect to the principal block box's
893893
border and does not scroll with the principal block box's content.
894+
The size or contents of the marker box may affect the height of the
895+
principal block box and/or the height of its first line box, and in
896+
some cases may cause the creation of a new line box. <span
897+
class=note><strong>Note:</strong> This interaction may be more
898+
precisely defined in a future level of CSS.</span>
894899

895900
<dt><strong>inside</strong>
896901

css2/media.src

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: media.src,v 2.43 2008-06-25 16:20:35 bbos Exp $ -->
3+
<!-- $Id: media.src,v 2.44 2008-12-02 18:50:38 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Media types</TITLE>
66
</HEAD>
@@ -76,7 +76,12 @@ the <a href="cascade.html">chapter on the cascade</a>.
7676

7777
<P>An <span class="index-def" title="media">@media</span> rule
7878
specifies the target <a href="#media-types">media types</a> (separated
79-
by commas) of a set of rules (delimited by curly braces). The <span
79+
by commas) of a set of <a
80+
href="syndata.html#tokenization">statements</a> (delimited by curly
81+
braces). Invalid statements must be ignored per <a
82+
href="syndata.html#rule-sets">4.1.7 "Rule sets, declaration blocks,
83+
and selectors"</a> and <a href="syndata.html#parsing-errors">4.2
84+
"Rules for handling parsing errors."</a> The <span
8085
class="index-inst" title="@media">@media</span> construct allows style
8186
sheet rules for various media in the same style sheet:</P>
8287

@@ -93,7 +98,8 @@ sheet rules for various media in the same style sheet:</P>
9398
</pre>
9499

95100
<p>Style rules outside of @media rules apply to all media types
96-
that the style sheet applies to.</p>
101+
that the style sheet applies to. At-rules inside @media are invalid in
102+
CSS2.1.
97103

98104
<H2><a name="media-types">Recognized media types</a></H2>
99105

css2/syndata.src

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: syndata.src,v 2.161 2008-11-26 15:05:04 bbos Exp $ -->
3+
<!-- $Id: syndata.src,v 2.162 2008-12-02 18:50:38 bbos Exp $ -->
44
<head>
55
<title>Syntax and basic data types</title>
66
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
@@ -263,7 +263,8 @@ href="#parsing-errors">rules for handling parsing errors</a>. However, because t
263263
to contain either the backslash or the newline).
264264
</p>
265265
<p>Second, it cancels the meaning of special CSS characters.
266-
Any character (except a hexadecimal digit) can be escaped
266+
Except within CSS comments, any character (except a
267+
hexadecimal digit) can be escaped
267268
with a backslash to remove its special meaning.
268269
For example, <samp>"\""</samp> is a string consisting of one
269270
double quote. Style sheet preprocessors must not remove

css2/visuren.src

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: visuren.src,v 2.147 2008-11-03 16:46:08 bbos Exp $ -->
3+
<!-- $Id: visuren.src,v 2.148 2008-12-02 18:50:38 bbos Exp $ -->
44
<head>
55
<title>Visual formatting model</title>
66
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
@@ -232,7 +232,7 @@ do not form new blocks of content; the content is distributed in lines
232232
within a paragraph, inline images,
233233
etc.). Several values of the <span
234234
class="propinst-display">'display'</span> property make an element
235-
inline: 'inline', 'inline-table',
235+
inline: 'inline', 'inline-table', 'inline-block'
236236
and 'run-in' (part of the time; see <a href="#run-in">run-in boxes</a>).
237237
Inline-level elements generate <a name="inline-box"><dfn>inline
238238
boxes</dfn></a>.
@@ -1088,7 +1088,7 @@ and the floated IMG box.
10881088
The contents of floats are stacked as if floats generated new
10891089
stacking contexts, except that any positioned elements and elements
10901090
that actually create new
1091-
stacking contexts take part in the float's parent's stacking context.
1091+
stacking contexts take part in the float's parent stacking context.
10921092
A float can overlap other boxes in the normal flow (e.g., when a
10931093
normal flow box next to a float has negative margins). When this
10941094
happens, floats are rendered in front of non-positioned in-flow
@@ -1883,9 +1883,9 @@ stacking levels (from back to front):
18831883
<li>the stacking contexts of descendants with negative stack
18841884
levels.</li>
18851885
<li>a stacking level containing in-flow non-inline-level
1886-
descendants.</li>
1887-
<li>a stacking level for floats and their contents.</li>
1888-
<li>a stacking level for in-flow inline-level descendants.</li>
1886+
non-positioned descendants.</li>
1887+
<li>a stacking level for non-positioned floats and their contents.</li>
1888+
<li>a stacking level for in-flow inline-level non-positioned descendants.</li>
18891889
<li>a stacking level for positioned descendants with 'z-index:
18901890
auto', and any descendant stacking contexts with 'z-index: 0'.</li>
18911891
<li>the stacking contexts of descendants with positive stack levels.</li>

0 commit comments

Comments
 (0)