I've been thinking a bit about how to improve the interaction of box
and block layout, how to improve columns, and how to do layout for
vertical text.  I think some improvements to all of them could be
made by propagating a symmetric pair of available width and
available height as the input to reflow.

(We might even want to take a look at how percentage height quirks
should be implemented.)

However, we already have nsHTMLReflowState members called
availableWidth and availableHeight.  But the latter isn't really an
input height -- it means "must (page/column) break at or before this
height".  So these members look like a symmetric pair, but they're
not.

So before I start talking or thinking too much about any new concept
of input / available height, I'd like to rename
nsHTMLReflowState::availableHeight.  Does this seem reasonable.

I'd propose something like "breakHeight" or "maxBreakHeight".  (I
think the latter meight be good because a fast algorithm for
column-distribution could involve "minBreakHeight".)  Any better
ideas?

This isn't necessarily something I plan to get to immediately, but
I'm expecting it to be one of my main work items for Mozilla 2, and
I'd like to get started thinking about it sooner rather than later.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Attachment: pgpv1dxkwNm5E.pgp
Description: PGP signature

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to