<9A0D6166-FDC2-469C-8D6B-3B7072691284@th.ingsmadeoutofotherthin.gs>,
James Montgomerie <jamie@th.ingsmadeoutofotherthin.gs> 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/
No comments:
Post a Comment