Skip to content

Commit b9ebdd4

Browse files
committed
[css2] Issue 173 from http://wiki.csswg.org/spec/css2.1
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403065
1 parent da54066 commit b9ebdd4

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

css2/text.src

+13-1
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: 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 $ -->
44
<head>
55
<title>Text</title>
66
<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
4242
line box. User agents must render this indentation as blank space.
4343
</p>
4444

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+
4550
<p>Values have the following meanings:</p>
4651

4752
<dl>
@@ -434,6 +439,13 @@ mechanism that identifies the beginning and end of document segments,
434439
such as the SGML RECORD-START and RECORD-END tokens. The CSS
435440
'white-space' processing model assumes all newlines have been
436441
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.
437449

438450
<div class="example"><p> The following examples show what <a
439451
href="syndata.html#whitespace">white space</a> behavior is expected

0 commit comments

Comments
 (0)