Skip to content

Commit da54066

Browse files
committed
[css2] Issues 185, 187, 204, 191, 194, 173 and 186
from http://wiki.csswg.org/spec/css2.1 --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403064
1 parent d26e1fb commit da54066

1 file changed

Lines changed: 21 additions & 4 deletions

File tree

css2/visuren.src

Lines changed: 21 additions & 4 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.168 2010-10-13 17:44:00 bbos Exp $ -->
3+
<!-- $Id: visuren.src,v 2.169 2010-10-25 14:25:43 bbos Exp $ -->
44
<head>
55
<title>Visual formatting model</title>
66
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
@@ -1036,7 +1036,18 @@ more floats present.
10361036
<p>Since a float is not in the flow, non-positioned block boxes
10371037
created before and after the float box flow vertically as if the float
10381038
did not exist. However, line boxes created next to the float are
1039-
shortened to make room for the margin box of the float. If a shortened line box
1039+
shortened to make room for the margin box of the float.
1040+
1041+
<p>A line box is next to a float when there exists a vertical position
1042+
that satisfies all of these four conditions: (a) at or below the top
1043+
of the line box, (b) at or above the bottom of the line box, (c) below
1044+
the top margin edge of the float, and (d) above the bottom margin edge
1045+
of the float.
1046+
1047+
<p class=note>Note: this means that floats with zero height or
1048+
negative height do not move line boxes.
1049+
1050+
<p>If a shortened line box
10401051
is too small to contain any further content, then it is shifted downward until
10411052
either it fits or there are no more floats present.
10421053
Any content in the current line before a floated box is reflowed
@@ -2274,12 +2285,18 @@ same as if the bidi control codes had been added as described above,
22742285
markup had been stripped, and the resulting character sequence had
22752286
been passed to an implementation of the Unicode bidirectional
22762287
algorithm for plain text that produced the same line-breaks as the
2277-
styled text. In this process, non-textual entities such as images are
2278-
treated as neutral characters, unless their <span
2288+
styled text.
2289+
In this process, replaced elements with 'display: inline' (and
2290+
replaced elements with 'display: run-in', when they generate
2291+
inline-level boxes) are treated as
2292+
neutral characters, unless their <span
22792293
class="propinst-unicode-bidi">'unicode-bidi'</span> property has a
22802294
value other than 'normal', in which case they are treated as strong
22812295
characters in the <span class="propinst-direction">'direction'</span>
22822296
specified for the element.
2297+
2298+
2299+
22832300
</p>
22842301
<p>Please note that in order to be able to flow inline boxes in a
22852302
uniform direction (either entirely left-to-right or entirely

0 commit comments

Comments
 (0)