|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 | 2 | <html lang="en"> |
3 | | -<!-- $Id: text.src,v 2.75 2010-10-05 19:25:20 bbos Exp $ --> |
| 3 | +<!-- $Id: text.src,v 2.76 2010-10-25 14:26:21 bbos Exp $ --> |
4 | 4 | <head> |
5 | 5 | <title>Text</title> |
6 | 6 | <meta http-equiv="Content-Style-Type" content="text/css"> |
@@ -42,6 +42,11 @@ respect to the left (or right, for right-to-left layout) edge of the |
42 | 42 | line box. User agents must render this indentation as blank space. |
43 | 43 | </p> |
44 | 44 |
|
| 45 | +<p>'Text-indent' only affects a line if it is the <a |
| 46 | +href="selector.html#first-line-pseudo">first formatted line</a> of an |
| 47 | +element. For example, the first line of an anonymous block box is only |
| 48 | +affected if it is the first child of its parent element. |
| 49 | + |
45 | 50 | <p>Values have the following meanings:</p> |
46 | 51 |
|
47 | 52 | <dl> |
@@ -434,6 +439,13 @@ mechanism that identifies the beginning and end of document segments, |
434 | 439 | such as the SGML RECORD-START and RECORD-END tokens. The CSS |
435 | 440 | 'white-space' processing model assumes all newlines have been |
436 | 441 | normalized to line feeds. |
| 442 | +UAs that recognize other newline representations must apply the white |
| 443 | +space processing rules as if this normalization has taken place. If no |
| 444 | +newline rules are specified for the document language, each carriage |
| 445 | +return (U+000D) and CRLF sequence (U+000D U+000A) in the document text |
| 446 | +is treated as single line feed character. |
| 447 | +This default normalization rule also applies to generated |
| 448 | +content. |
437 | 449 |
|
438 | 450 | <div class="example"><p> The following examples show what <a |
439 | 451 | href="syndata.html#whitespace">white space</a> behavior is expected |
|
0 commit comments