floats (block or inline context)

Hello,

en element that is a float is forced to have display:block,

and block boxes participate in a block formatting context, and inline elements in an inline formatting context..

But are elements that are floats an exception to this rule, in a block formatting context there's no notion of current line for example, so a float box should rather be part of an inline formatting context with special handling of floats?

(I realize that this is very implementation dependant, and that implementations can do whatever they want as long as the results are the same, just asking for some pointers :)

thanks,

--
Sigurd Lerstad

Received on Friday, 25 October 2002 22:04:55 UTC