Making paper the default style?
Mads Kiilerich
mads at kiilerich.com
Tue Oct 28 23:57:10 UTC 2008
Alexander Solovyov wrote, On 10/28/2008 10:02 PM:
> On 2008-10-28, Matt Mackall wrote:
>
>> I'm considering making paper the default hgweb style for the 1.1
>> release. You can see it in action here:
>>
> Paper definitely is much better.
>
Paper definitely looks much better.
But with the broken browsers and hardware and graphic drivers currently
out there - for example on my machine, Fedora with Firefox - it is quite
a bit slower than classic.
An unscientific measurement is scrolling up and down as fast as I can.
With classig style it uses all cpu, but Gnome System Monitor keeps
updating. With the current paper style it uses so much cpu that Gnome
System Monitor stops updating and the system feels sluggish.
No matter how much better the paper layout looks, Mercurial should be
able to run on all systems without unnecessary slowdown.
The slowdown seems to be because of the fixed positioning of the menu.
The paper style looks almost as nice with
sed -i 's,fixed,absolute,g' templates/static/style-paper.css
and seems to be much faster to render. Would that be an acceptable
compromise? Perhaps some CSS gurus could come up with a better solution?
/Mads
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3435 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20081029/e65ccc5f/attachment-0003.bin>
More information about the Mercurial
mailing list