[PATCH] hgweb: fix tab alignment in file view

Laurens Holst laurens.nospam at grauw.nl
Mon May 18 14:26:06 CDT 2009


Dirkjan Ochtman schreef:
> On Fri, May 15, 2009 at 11:34 AM, Rocco Rutte <pdmef at gmx.net> wrote:
>   
>> For file view, tab-indented lines are off by 1 in Opera, Safari looks
>> okay. Now only annotate and diff views are missing. Annotate can be done
>> easily using 3 column table for all styles (like monoblue already does).
>>     
>
> We should not use a table for annotate; that massively slows down page
> loading because of the intricacies of laying out tables.

What if you use table-layout: fixed on the table and set explicit widths 
on the table columns? Theoretically that algorithm should be simpler.

~Laurens

-- 
Note: New email address! Please update your address book.

~~ Ushiko-san! Kimi wa doushite, Ushiko-san nan da!! ~~
Laurens Holst, student, Utrecht University, the Netherlands
Website: www.grauw.nl. Backbase employee; www.backbase.com



More information about the Mercurial-devel mailing list