In article <9a0d6166-fdc2-469c-8d6b-3b7072691...@th.ingsmadeoutofotherthin.gs>, James Montgomerie <[email protected]> wrote:
> Attached is a patch to complete libCSS' widows and orphans property > support. Thanks for the patch. :) Committed as r13864 with a few changes. Mostly to make the computed value getter functions have a consistent API and a few style changes. Sorry it took us so long to look at this! > I've also made small modifications to a few of the other internal 'page' > property setters (set_page_break_before) etc. to not set up a page > struct if there's not one already and the property's being set to its > default value. Especially with non-inherited properties, this seems to > save a surprising amount of runtime when using libCSS heavily (informal > testing, paginating an ebook), and presumably a fair bit of RAM too, > especially as the page struct grows in size. Yep, that looked good. :) Thanks again! -- Michael Drake (tlsa) http://www.netsurf-browser.org/
