Skip to content

Commit c587e67

Browse files
committed
[css2] Changes in wording about double justify suggested by CHO, references rewritten using [[key]]
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40982
1 parent eea526f commit c587e67

2 files changed

Lines changed: 29 additions & 25 deletions

File tree

css2/text.src

Lines changed: 18 additions & 17 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: text.src,v 2.6 1998-02-17 00:32:39 ijacobs Exp $ -->
3+
<!-- $Id: text.src,v 2.7 1998-02-19 00:49:27 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Text</TITLE>
@@ -51,19 +51,13 @@ The following example causes a 3em text indent.
5151
</PRE>
5252
</div>
5353

54-
<H2><a name="alignment-prop">Alignment</a> the <span
54+
<H2><a name="alignment-prop">Alignment:</a> the <span
5555
class="propinst-text-align">'text-align'</span> property</H2>
5656

5757
<!-- #include src=properties/text-align.srb -->
5858

59-
<P> This property describes how a paragraph of text is aligned. More
60-
precisely, it specifies how boxes in each <a
61-
href="visuren.html#line-box">line box</a> of a block align with
62-
respect to the line box. (Note that alignment is not with respect to
63-
the <a href="visuren.html#viewport">viewport</a> but the current <a
64-
href="visudet.html#containing-block">containing block</a>.)
65-
66-
<P>Values have the following meanings:</P>
59+
<P>This property describes how a block of text is aligned. Values
60+
have the following meanings:</P>
6761

6862
<dl>
6963
<dt><strong>left</strong>, <strong>right</strong>,
@@ -78,6 +72,14 @@ This value <em>only</em> applies to <a href="tables.html">table</a>
7872
columns.
7973
</dl>
8074

75+
<P>A block of text is a stack of <a href="visuren.html#line-box">line
76+
boxes</a>. In all cases except for 'justify', this property specifies
77+
how the inline boxes within each line box align with respect to the line
78+
box's left and right sides; alignment is not with respect to the <a
79+
href="visuren.html#viewport">viewport</a>. In the case of 'justify',
80+
the UA may stretch the inline boxes in addition to adjusting their
81+
positions.
82+
8183
<div class="example"><P>
8284
In this example, note that since <span
8385
class="propinst-text-align">'text-align'</span> inherits, all
@@ -361,18 +363,17 @@ an element's text. Values have the following meanings:</p>
361363
</DL>
362364

363365
<P> The actual transformation in each case is human language-
364-
dependent. See <a rel="biblioentry" href="./refs.html#ref-RFC2070"
365-
class="normref">[RFC2070]</a> for ways to find the language of an
366-
element.
366+
dependent. See RFC 2070 ([[RFC2070]]) for ways to find the language of
367+
an element.
367368

368369
<P><span class="index-inst" title="conformance"><a
369-
href="conform.html#conformance">Conforming HTML user agents</a></span> may
370-
consider the value of <span
370+
href="conform.html#conformance">Conforming HTML user agents</a></span>
371+
may consider the value of <span
371372
class="propinst-text-transform">'text-transform'</span> to be 'none'
372373
for characters that are not from the Latin-1 repertoire and for
373374
elements in languages for which the transformation is different from
374-
that specified by the case-conversion tables of <a rel="biblioentry"
375-
href="./refs.html#ref-UNICODE" class="normref">[UNICODE]</a>.
375+
that specified by the case-conversion tables of ISO 10646
376+
([[ISO10646]]).
376377

377378
<div class="example"><P>
378379
In this example, all text in an H1 element is transformed to uppercase

css2/visuren.src

Lines changed: 11 additions & 8 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: visuren.src,v 2.11 1998-02-18 23:42:41 ijacobs Exp $ -->
3+
<!-- $Id: visuren.src,v 2.12 1998-02-19 00:49:36 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Visual rendering model</TITLE>
@@ -838,10 +838,12 @@ href="#floats"> floats</a>. Line boxes in the same inline
838838
formatting context generally vary in height (e.g., one line might
839839
contain an image while the others contain only text).
840840

841-
<P>When the total width of the boxes on a line is less than the width of
842-
the line box containing them, their horizontal alignment within the
841+
<P>When the total width of the boxes on a line is less than the width
842+
of the line box containing them, their horizontal alignment within the
843843
line box is determined by the <span
844-
class="propinst-text-align">'text-align'</span> property.
844+
class="propinst-text-align">'text-align'</span> property. If that
845+
property has the value 'justify', the user agent may stretch the
846+
inline boxes as well.
845847

846848
<P>Since a box may not exceed the width of a line box, long boxes are
847849
split into several boxes and these boxes distributed across several
@@ -954,9 +956,9 @@ Hebrew script, and in some mixed-language contexts, text in a single
954956
directionality. This phenomenon is called <span class="index-def"
955957
title="bidirectionality (bidi)"> bidirectionality</span>, or "bidi"
956958
for short. For an introduction to bidirectionality issues, please
957-
consult [[HTML40]], section 8.2.
959+
consult the HTML 4.0 specification ([[HTML40]], section 8.2).
958960

959-
<P>The [[UNICODE]] specification assigns directionality to
961+
<P>The Unicode ([[UNICODE]]) specification assigns directionality to
960962
characters and defines a (complex) algorithm for determining the
961963
proper directionality of text. The <span
962964
class="propinst-direction">'direction'</span> and <span
@@ -1053,7 +1055,8 @@ class="propinst-margin">'margin'</span> properties.
10531055
factors:</p>
10541056

10551057
<ol>
1056-
<li>The directionality of the characters, as specified in [[UNICODE]].
1058+
<li>The directionality of the characters, as specified in
1059+
the Unicode specification ([[UNICODE]]).
10571060
<li>The value of the <span
10581061
class="propinst-unicode-bidi">'unicode-bidi'</span> property.
10591062
</ol>
@@ -1194,7 +1197,7 @@ versa.
11941197
<h4><a name="html40-bidi">Bidirectionality in HTML 4.0</a></h4>
11951198

11961199
<P>The following style sheet accurately expresses the behaviour of
1197-
HTML as described in [[HTML40]].
1200+
HTML as described in the HTML 4.0 specification ([[HTML40]]).
11981201

11991202
<div class="example"><P>
12001203
<PRE>

0 commit comments

Comments
 (0)