- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Fri, 20 Jul 2007 08:26:15 -0500
- To: www-style Mailing List <www-style@w3.org>
Currently in Gecko the preferred minimum width of a block with overflow set to something other than "visible" is 0. For example: <div style="width: 0px"> <div style="border: 1px solid green; float: left; overflow: hidden">text</div> </div> won't show the text. This is also what IE does, as far as we can tell. So do at least some versions of Opera in some cases [1]. It might be worth documenting in the various definitions of preferred minimum width that this might be needed to actually render web sites (though it does already say the algorithm is not defined). It might also be worth putting all the definitions of preferred minimum width in a single place... -Boris [1] <https://bugzilla.mozilla.org/show_bug.cgi?id=309110#c18>. The preferred min width in Opera seems to at least partly depend on what the ancestor is, as far as I can tell.
Received on Friday, 20 July 2007 13:26:31 UTC