Re: Flow around floats (proposal for float-displace)

I forgot to mention one thing in my post a few minutes ago [1].  This
proposal is the solution to the problem I raised a few weeks ago about
lists and floats [2] (and which was noted in the spec [3], as Ian
Hickson pointed out [4]).  If one were to declare (possibly in a UA
style sheet):

UL, OL, DIR, MENU { float-displace: jaggedbox; }

the typical behavior of floated images using HTML's align would be
restored, and the list markers would not flow on the "wrong side"
of a float.  This could then be reversed by someone who increased
the margin on a UL and had a small image floated to its left, by
declaring:

UL { float-displace: inline; } /* none would work too */

David Baron

[1] http://lists.w3.org/Archives/Public/www-style/1998Dec/0082.html
[2] http://lists.w3.org/Archives/Public/www-style/1998Dec/0029.html
[3] http://www.w3.org/TR/REC-CSS2/generate.html#markers
[4] http://lists.w3.org/Archives/Public/www-style/1998Dec/0066.html

Received on Sunday, 27 December 1998 20:45:56 UTC