Re: Floating objects

On 11-Jan-00, Bert Bos wrote:

>> Hi there, I'm writing a CSS2 capable browser and have a question.
> That's good news. What are your plans for that browser?

It's probably of little interest, as it's written for the Amiga computer :-)
But just for the records then it's most likely going to be released as
shareware (if that's what you refer to with 'plans')
The Amiga has no stylesheet supporting user agent, which is why I'll probably
be asking a lot of questions in this forum, as I have no other reference than
the standard itself, which isn't always 100% clear...

>> [...] if the following box is given a border, should it then be
>> rendered over the floating box? I.e. to surround all of the text shown in
>> the first example.
> Yes, the border should surround all of the text in the first diagram, [...]

OK, one more question: Had the floating object been the tallest, would the
following element than have been closed without first 'flushing' any floats?
E.g.

    ###################
    #+--------+ Small #
    #|Big box | box!  #
    #|of much |########
     |text    |
     |floating|
     |here... |
     +--------+

If this is the case then which exceptions exist? I.e. I assume that table-cells
should flush any floating objects, before the box is closed. And the same
should probably also apply to other floating objects, and maybe absolute
placed objects?


Another thing I've been considering is whether this markup:
   <P>Hello <Div Style="float: left">Floating text...</Div>World!</P>
Should be rendered as:

   Hello world!
   +--------+
   |Floating|
   |text... |
   +--------+

Or instead:

   Hello 
   +--------+world!
   |Floating|
   |text... |
   +--------+

I suspect it's the first way, but this gives a problem (in the implementation)
if the text after the float changes the line-height.  I.e. when I see the
floating object I'll place it below the current linebox of the containing
object. But if more text is added to this linebox, it may grow in height, and 
the position given to the floating object is wrong (it should be pushed down
the same amount of space as the linebox gained)

> [1] http://lists.w3.org/Archives/Public/www-style/1999Sep/0063.html

Thanks! As I'm new to this list then I do appreciate references to older
threads very much!

Kind regards Allan
-- 
     URL: http://www.DIKU.dk/students/duff/
<sb>
BUG (n.) undocumented feature. FEATURE (n.) documented bug.

Received on Tuesday, 11 January 2000 11:04:22 UTC