Skip to content

Commit bf49ba6

Browse files
committed
[css2] fix issue 82 for Tantek
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402453
1 parent 5d99e26 commit bf49ba6

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

css2/visuren.src

Lines changed: 12 additions & 10 deletions
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: visuren.src,v 2.128 2006-05-09 13:03:48 fantasai Exp $ -->
3+
<!-- $Id: visuren.src,v 2.129 2006-05-09 13:24:08 fantasai Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Visual formatting model</title>
@@ -1931,7 +1931,9 @@ properties
19311931
not support bidirectional text may ignore the <span
19321932
class="propinst-direction">'direction'</span> and <span
19331933
class="propinst-unicode-bidi">'unicode-bidi'</span> properties
1934-
described in this section.
1934+
described in this section. This exception includes UAs that render
1935+
right-to-left characters simply because a font on the system contains them
1936+
but do not support the concept of right-to-left text direction.
19351937

19361938
<p>The characters in certain scripts are written from right to
19371939
left. In some documents, in particular those written with the Arabic
@@ -1951,14 +1953,14 @@ class="propinst-unicode-bidi">'unicode-bidi'</span> properties allow
19511953
authors to specify how the elements and attributes of a document
19521954
language map to this algorithm.
19531955
</p>
1954-
<p>
1955-
If the rendered content contains right-to-left characters, and if the user
1956-
agent displays these characters in right-to-left order, the user
1957-
agent must apply the bidirectional algorithm.
1958-
(UAs that render right-to-left characters simply because a font on
1959-
the system contains them but do not support the concept of
1960-
right-to-left text direction are exempt from this requirement.)
1961-
</p>
1956+
<p>User agents that support bidirectional text must apply the Unicode
1957+
bidirectional algorithm to every sequence of inline boxes uninterrupted
1958+
by a forced line break or block boundary. This sequence forms the
1959+
"paragraph" unit in the bidirectional algorithm. The paragraph embedding
1960+
level is set according to the value of the <span
1961+
class="propinst-direction">'direction'</span> property of the containing
1962+
block rather than by the heuristic given in steps P2 and P3 of the Unicode
1963+
algorithm.</p>
19621964
<p>Because the directionality of a text depends on the structure and
19631965
semantics of the document language, these properties should in most
19641966
cases be used only by designers of document type descriptions (DTDs),

0 commit comments

Comments
 (0)