- From: Håkon Wium Lie <howcome@opera.com>
- Date: Mon, 15 Aug 2005 18:34:20 +0200
- To: Staffan Måhlén <staffan.mahlen@comhem.se>
- Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style@w3.org
Also sprach Staffan Måhlén: > Oh. I found > https://bugzilla.mozilla.org/show_bug.cgi?id=50630 > > Apparently people there agrees that "as high as possible" means > including moving already positioned items. To me it seems that > this is a poor solution since it creates less predictable > and bouncier results. It also seems more complex to move content > rather than positioning the float at "the next line break", and > float implementations tend to have quite a few bugs. > > Should the rec be relaxed to explictly allow or even changed to > require Mozilla/IEs behavior? Let me offer a use case for keeping elements on the same line. Say you are marking up a restaurant menu: <dish><name>fish</name><price>$10</price></dish> <dish><name>meat</name><price>$12</price></dish> I'd like to float the price to the right to achieve this formatting Fish $10 Meat $12 using this style sheet: dish { display: block } name { display: inline } price { float: right } However, Mozilla and others show: Fish Meat $10 $12 To achieve my preferred formatting, I have to write: <dish><price>$10</price><name>fish</name></dish> <dish><price>$12</price><name>meat</name></dish> Which is not the logical content order. (I could have used CSS tables for this, but support is spotty) -h&kon (who suddenly got hungy) Håkon Wium Lie CTO °þe®ª howcome@opera.com http://people.opera.com/howcome
Received on Monday, 15 August 2005 16:34:29 UTC