Skip to content

Commit 0fba4e7

Browse files
committed
[css2] updated list of changes
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40739
1 parent 8db48eb commit 0fba4e7

1 file changed

Lines changed: 116 additions & 0 deletions

File tree

css2/changes.html

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2+
<html lang="en">
3+
4+
<HEAD>
5+
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6+
<TITLE>Appendix B: Changes from CSS1</TITLE>
7+
<LINK rel="next" href="notes.html">
8+
<LINK rel="previous" href="sample.html">
9+
<LINK rel="STYLESHEET" href="style/default.css" type="text/css">
10+
</HEAD>
11+
<BODY>
12+
<div class="navbar" title="Navigation bar">
13+
<center>&nbsp;<a href="sample.html">previous</a> &nbsp; <a href="notes.html">next</a> &nbsp; <a href="cover.html#toc">contents</a> &nbsp; <a href="propidx.html">properties</a> &nbsp; <a href="descidx.html">descriptors</a> &nbsp; <a href="indexlist.html">index</a>
14+
</center><hr title="navigation bar separator">
15+
</div>
16+
17+
<H1 align="center">Appendix B: Changes from CSS1</H1>
18+
<div class="subtoc"><p><strong>Contents</strong>
19+
<ol>
20+
<li><a href="#h-2.1">New functionality</a>
21+
<li><a href="#h-2.2">Updated descriptions</a>
22+
<li><a href="#h-2.3">Changes</a>
23+
</ol>
24+
</div>
25+
26+
<P>CSS2 builds on <a rel="biblioentry" href="./refs.html#ref-CSS1"
27+
class="normref">[CSS1]</a> and all valid CSS1 stylesheets are valid
28+
CSS2 stylesheets. The changes between the <a
29+
href="http://www.w3.org/TR/REC-CSS1">CSS1 specification</a> and this
30+
specification fall into three groups: new functionality, updated
31+
descriptions of CSS1 functionality, and changes to CSS1.
32+
33+
<H2><a name="h-2.1">2.1</a> New functionality</H2>
34+
35+
<P>In addition to the functionality of CSS1, CSS2 supports:</p>
36+
37+
<UL>
38+
39+
<LI>The concept of <A HREF="media.html">Media types</A>
40+
41+
<LI><A HREF="page.html">Paged media</A>
42+
43+
<LI><A HREF="aural.html">Aural style sheets</A>
44+
45+
<LI><A HREF="fonts.html#font-selection">An extended font selection</A>
46+
mechanism, including intelligent matching, synthesis, and downloadable
47+
fonts. Also, the concept of system fonts has been is introduced, and a
48+
new property, <span
49+
class="propinst-font-size-adjust">'font-size-adjust'</span>, has been added.
50+
51+
<LI><A HREF="tables.html">Tables</A>, including new values on <a href="visuren.html#propdef-display" class="noxref"><span
52+
class="propinst-display">'display'</span></a> and <a href="visudet.html#propdef-vertical-align" class="noxref"><span
53+
class="propinst-vertical-align">'vertical-align'</span></a>
54+
55+
<LI><A HREF="visuren.html#relative-positioning">Relative</A> and <A
56+
HREF="visuren.html#absolute-positioning">Absolute positioning</A>,
57+
including <A
58+
HREF="visuren.html#fixed-positioning">fixed positioning</A>.
59+
60+
<LI>An extended <A HREF="selector.html">selector</A> mechanism,
61+
including child selectors, adjacent selectors and attribute selectors.
62+
63+
<LI><A HREF="generate.html#generated-text">Generated content and automatic
64+
numbering</A> is possible.
65+
66+
<LI>Text shadows are possible through the new <LI><span
67+
class="propinst-text-shadow">'text-shadow'</span> property.
68+
69+
<LI>The :hover <A HREF="selector.html#anchor-pseudo-classes">anchor
70+
pseudo-class</A> has been added.
71+
72+
<LI><A HREF="ui.html#system-colors">System colors</A> have been introduced.
73+
74+
</UL>
75+
76+
77+
<H2><a name="h-2.2">2.2</a> Updated descriptions</H2>
78+
79+
<P>The CSS1 specification was short and concise. This specification is
80+
more voluminous and readable. Much of the additional content
81+
describes new functionality, but the description of CSS1 features has
82+
also been extended. Except in a few cases described below, the
83+
rewritten descriptions do not indicate a change in syntax nor
84+
semantics.
85+
86+
87+
88+
<H2><a name="h-2.3">2.3</a> Changes</H2>
89+
90+
<UL>
91+
92+
<LI>In CSS2 <A HREF="syndata.html#color-units">color values</A> are clipped
93+
with regard to the device gamut, not with regard to the sRGB gamut as
94+
in CSS1.
95+
96+
<LI>[strength of constraints based on writing direction]
97+
98+
<LI>In CSS1, several properties (e.g. 'padding') had values referring
99+
to the width of the parent element. This was an error; the value
100+
should always refer to the width of a block-level element and this
101+
specification reflects this.
102+
103+
<LI>Initial value of 'display' is 'inline', not 'block' as in CSS1.
104+
105+
<LI>'clear' applies to block level
106+
107+
108+
109+
</UL>
110+
111+
<div class="navbar" title="Navigation bar">
112+
<hr title="navigation bar separator"><center><a href="sample.html">previous</a> &nbsp; <a href="notes.html">next</a> &nbsp; <a href="cover.html#toc">contents</a> &nbsp; <a href="propidx.html">properties</a> &nbsp; <a href="descidx.html">descriptors</a> &nbsp; <a href="indexlist.html">index</a>
113+
</center></div>
114+
</BODY>
115+
</HTML>
116+

0 commit comments

Comments
 (0)