On Tue, Dec 08, 2009 at 08:36:35PM +0000, corvid wrote:
Johannes wrote:
Please let me know what you think, and I would especially like to get opinions on how to implement the various display types:
inline | block | list-item | run-in | inline-block | none
I don't know about details, but I suspect the logic will all end up in dw.
I thought that the display handling would be done in html.cc - by choosing the proper dw widget structure. I think this is what Sebastian calls "complex properties" in http://www.dillo.org/CSS.html
And that we will end up having to make a lot of boxes eventually.
Yes definately. Currently we sometimes just add a parbreak, where we would need a new box. That's also the reason for the inheritBackgroundColor hack. On the other hand more Textblock widgets consume more memory on large pages.
In bug 929, someone wants to know why padding-left doesn't work for P elements, for instance. This might be what Sebastian meant in the top of textblock.hh about collapsing spaces being unnecessary in a CSS-ized dillo.
I don't know enough about this space collapsing...