RE: side floats [was: RE: [xep-support] Projection on Limitation on B efore Floats?]

From: MAISONNY Benoit (Benoit.MAISONNY@eurocontrol.int)
Date: Sun Nov 17 2002 - 15:23:59 PST


From: W. Eliot Kimber [mailto:eliot@isogen.com]
>
> I tried several variants of this sample and couldn't get the
> symbol to
> go anywhere but on the second line of the block unless the float
> was the first inline in the block.

Thanks for trying, Eliot: at least I know I am not alone :-)

> didn't see anything in the
> discussion
> of side float placement that directly addressed this, but it
> could be a
> subtle rule. I tried using XSL Formatter and got the same results as
> with XEP.
>

For reference, here is what I think relate to this issue in the specs:

>From FO specs in http://www.w3.org/TR/xsl/slice6.html#fo_float:

"The description in section 9.5 of [CSS2] shall be used to determine the formatting of the fo:float and the rendering of normal line-areas and side-floats that are inline-overlapping, with these modifications:
[...]
* The phrase "current line box" shall be interpreted to mean the line-area containing the anchor-area generated by the float. If the anchor-area is a block-area then the "current line box" does not exist."

>From CSS2 http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#floats:
"The top of the floated box is aligned with the top of the current line box (or bottom of the preceding block box if no line box exists). If there isn't enough horizontal room on the current line for the float, it is shifted downward, line by line, until a line has room for it."

There are more precise rules here: http://www.w3.org/TR/1998/REC-CSS2-19980512/visuren.html#propdef-float

Still, I don't see why the float is put beside the next line: obviously there is space for the float there, so why not one line above?

Cheers,
Benoit

____
 
This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.
 
Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL unless it is confirmed by appropriately signed hard copy.
 
Any views expressed in this message are those of the sender.

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



This archive was generated by hypermail 2.1.5 : Wed Dec 18 2002 - 08:41:28 PST