On 16/10/2014 13:56, Robert O'Callahan wrote:
On Fri, Oct 17, 2014 at 9:45 AM, Gijs Kruitbosch <gijskruitbo...@gmail.com>
wrote:

There are also "interesting" height computation issues that I'm pretty sure
HTML (flexbox) doesn't have, e.g. bug 451997. I'm not sure that's a
function of the box model, considering it's not an issue with flexbox...


Yeah. XUL layout (all layouts, not just flexbox) compute intrinsic width
*and* height bottom up before doing actual layout. This is incompatible
with CSS and really just broken, and the friction between that model and
CSS is painful.

Rob

This is an interesting point in terms of wanting to switch to HTML here. We use quite a lot of popups and panels in the Firefox front-end code. Those size to content (and windows/dialogs have a .sizeToContent method). How would/could that work in the HTML/CSS model?

(asking particularly because I'd love to have an alternative for the broken XUL layout we get now which leads to stupid bugs and wasted time and frustration - so far I've not been able to work around just by using lots of display: flex; and friends...)

~ Gijs
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to