Skip to content

Commit 2742261

Browse files
committed
[css2] Tantek's edits: edit text to explain that 'white-space: pre' causes
text-align's actual value to be its initial value, without changing the computed value. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402090
1 parent c8d61ab commit 2742261

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

css2/text.src

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
22
"http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
33
<html lang="en">
4-
<!-- $Id: text.src,v 2.37 2003-03-21 15:57:53 bbos Exp $ -->
4+
<!-- $Id: text.src,v 2.38 2003-05-05 13:41:58 bbos Exp $ -->
55
<head>
66
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
77
<title>Text</title>
8-
<!-- Changed by: Tantek Celik, 2003-03-03 -->
8+
<!-- Changed by: Tantek Celik, 2003-05-01 -->
99
<style type="text/css">
1010
.current,.proposed { background:#feb }
1111
ins.proposed { background:#bfb }
@@ -92,6 +92,11 @@ positions. (See also <span
9292
class="propinst-letter-spacing">'letter-spacing'</span> and <span
9393
class="propinst-word-spacing">'word-spacing'</span>.)
9494
</p>
95+
<p>
96+
If the computed value of text-align is 'justify' while the computed
97+
value of white-space is 'pre' or 'pre-line', the actual value of
98+
text-align becomes the initial default value.
99+
</p>
95100

96101
<div class="example"><p>
97102
In this example, note that since <span

0 commit comments

Comments
 (0)