|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 | 2 | <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 $ --> |
4 | 4 | <head> |
5 | 5 | <title>Visual formatting model</title> |
6 | 6 | <meta name="editor" lang="tr" content="Tantek Çelik"> |
@@ -1036,7 +1036,18 @@ more floats present. |
1036 | 1036 | <p>Since a float is not in the flow, non-positioned block boxes |
1037 | 1037 | created before and after the float box flow vertically as if the float |
1038 | 1038 | 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 |
1040 | 1051 | is too small to contain any further content, then it is shifted downward until |
1041 | 1052 | either it fits or there are no more floats present. |
1042 | 1053 | 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, |
2274 | 2285 | markup had been stripped, and the resulting character sequence had |
2275 | 2286 | been passed to an implementation of the Unicode bidirectional |
2276 | 2287 | 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 |
2279 | 2293 | class="propinst-unicode-bidi">'unicode-bidi'</span> property has a |
2280 | 2294 | value other than 'normal', in which case they are treated as strong |
2281 | 2295 | characters in the <span class="propinst-direction">'direction'</span> |
2282 | 2296 | specified for the element. |
| 2297 | + |
| 2298 | + |
| 2299 | + |
2283 | 2300 | </p> |
2284 | 2301 | <p>Please note that in order to be able to flow inline boxes in a |
2285 | 2302 | uniform direction (either entirely left-to-right or entirely |
|
0 commit comments