Skip to content

Commit 283ef8e

Browse files
committed
[css2] Added text about drop caps
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402118
1 parent 697a876 commit 283ef8e

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

css2/selector.src

Lines changed: 15 additions & 6 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: selector.src,v 2.70 2003-07-21 14:44:49 bbos Exp $ -->
3+
<!-- $Id: selector.src,v 2.71 2003-08-11 23:23:15 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Selectors</title>
@@ -1052,9 +1052,11 @@ line of the DIV in <code>&lt;DIV>&lt;P>This
10521052
line...&lt;/P>&lt/DIV></code> is the first line of the P (assuming
10531053
that both P and DIV are block-level).
10541054

1055-
<p>The fictional start tag of the first-line pseudo-element is
1056-
considered to be just inside the smallest enclosing block-level
1057-
element. Here is a (complex) example. The fictional tag sequence for
1055+
<p>A UA should act as if the fictional start tag of the first-line
1056+
pseudo-element is just inside the smallest enclosing block-level
1057+
element. (Since CSS1 and CSS2 were silent on the this case, authors
1058+
should not rely on this behavior.) Here is an example. The fictional
1059+
tag sequence for
10581060

10591061
<pre>
10601062
&lt;DIV>
@@ -1119,16 +1121,19 @@ is similar to a floated element.</p>
11191121
and
11201122
<span class="propinst-float">'float',</span>
11211123
and, if 'float' is not 'none',
1122-
<ins cite="http://lists.w3.org/Archives/Member/w3c-css-wg/2003AprJun/0379.html">
11231124
<span class="propinst-width">'width',</span>
11241125
<span class="propinst-min-width">'min-width',</span>
11251126
<span class="propinst-max-width">'max-width',</span>
11261127
<span class="propinst-height">'height',</span>
11271128
<span class="propinst-min-height">'min-height',</span>
11281129
<span class="propinst-max-height">'max-height',</span>
1129-
</ins>
11301130
and
11311131
<span class="propinst-clear">'clear'</span>.
1132+
<ins>Other properties are explicitly undefined, to allow UAs to render
1133+
a typographically correct drop cap or initial cap. E.g., if 'float' is
1134+
not 'none', the UA may choose a width and height based on the shape of
1135+
the letter, unlike for normal floating elements. CSS3 is expected to
1136+
have specific properties that apply to first-letter.</ins>
11321137
</p>
11331138

11341139
<div class="html-example"><p></p>
@@ -1208,6 +1213,10 @@ letter combinations. In Dutch, for example, if the letter combination
12081213
"ij" appears at the beginning of a word, both letters should be
12091214
considered within the :first-letter pseudo-element.
12101215

1216+
<ins><p>If the letters that would form the first-letter are not in the
1217+
same element, such as "'t" in <code>&lt;p>'&lt;em>t...</code>, the UA
1218+
should not apply the first-letter.</ins>
1219+
12111220
<div class="example"><p>
12121221
<a name="overlapping-example">The following example</a> illustrates
12131222
how overlapping pseudo-elements may interact. The first letter of

0 commit comments

Comments
 (0)