|
1 | 1 | <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'> |
2 | 2 | <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 $ --> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
6 | 6 | <title>Selectors</title> |
@@ -1052,9 +1052,11 @@ line of the DIV in <code><DIV><P>This |
1052 | 1052 | line...</P></DIV></code> is the first line of the P (assuming |
1053 | 1053 | that both P and DIV are block-level). |
1054 | 1054 |
|
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 |
1058 | 1060 |
|
1059 | 1061 | <pre> |
1060 | 1062 | <DIV> |
@@ -1119,16 +1121,19 @@ is similar to a floated element.</p> |
1119 | 1121 | and |
1120 | 1122 | <span class="propinst-float">'float',</span> |
1121 | 1123 | and, if 'float' is not 'none', |
1122 | | -<ins cite="http://lists.w3.org/Archives/Member/w3c-css-wg/2003AprJun/0379.html"> |
1123 | 1124 | <span class="propinst-width">'width',</span> |
1124 | 1125 | <span class="propinst-min-width">'min-width',</span> |
1125 | 1126 | <span class="propinst-max-width">'max-width',</span> |
1126 | 1127 | <span class="propinst-height">'height',</span> |
1127 | 1128 | <span class="propinst-min-height">'min-height',</span> |
1128 | 1129 | <span class="propinst-max-height">'max-height',</span> |
1129 | | -</ins> |
1130 | 1130 | and |
1131 | 1131 | <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> |
1132 | 1137 | </p> |
1133 | 1138 |
|
1134 | 1139 | <div class="html-example"><p></p> |
@@ -1208,6 +1213,10 @@ letter combinations. In Dutch, for example, if the letter combination |
1208 | 1213 | "ij" appears at the beginning of a word, both letters should be |
1209 | 1214 | considered within the :first-letter pseudo-element. |
1210 | 1215 |
|
| 1216 | +<ins><p>If the letters that would form the first-letter are not in the |
| 1217 | +same element, such as "'t" in <code><p>'<em>t...</code>, the UA |
| 1218 | +should not apply the first-letter.</ins> |
| 1219 | + |
1211 | 1220 | <div class="example"><p> |
1212 | 1221 | <a name="overlapping-example">The following example</a> illustrates |
1213 | 1222 | how overlapping pseudo-elements may interact. The first letter of |
|
0 commit comments