Patchwork [STABLE] hgweb, paper: fix rendering of the first tab in a line in Webkit (issue3990)

login
register
mail settings
Submitter Alexander Plavin
Date July 21, 2013, 2:54 p.m.
Message ID <b7367409ef4dcb86e2cb.1374418466@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1940/
State Accepted
Commit dfc0fe1541d9fec107a37f72a0a6775b79a08a48
Headers show

Comments

Alexander Plavin - July 21, 2013, 2:54 p.m.
# HG changeset patch
# User Alexander Plavin <me@aplavin.ru>
# Date 1374418254 -14400
#      Sun Jul 21 18:50:54 2013 +0400
# Branch stable
# Node ID b7367409ef4dcb86e2cb5056971af8ac5902906c
# Parent  d755725199c9fba008b9a3b2c321da07d75f352d
hgweb, paper: fix rendering of the first tab in a line in Webkit (issue3990)

This fixes issue3990 for Webkit-browsers, and also older Opera versions.
Rendering in firefox is not changed.
Matt Mackall - July 25, 2013, 5:53 a.m.
On Sun, 2013-07-21 at 18:54 +0400, Alexander Plavin wrote:
> # HG changeset patch
> # User Alexander Plavin <me@aplavin.ru>
> # Date 1374418254 -14400
> #      Sun Jul 21 18:50:54 2013 +0400
> # Branch stable
> # Node ID b7367409ef4dcb86e2cb5056971af8ac5902906c
> # Parent  d755725199c9fba008b9a3b2c321da07d75f352d
> hgweb, paper: fix rendering of the first tab in a line in Webkit (issue3990)
> 
> This fixes issue3990 for Webkit-browsers, and also older Opera versions.
> Rendering in firefox is not changed.

Queued for stable, thanks. Any thoughts on dealing with Firefox?
Alexander Plavin - July 25, 2013, 9:05 a.m.
2013/7/25 Matt Mackall <mpm@selenic.com>:
> On Sun, 2013-07-21 at 18:54 +0400, Alexander Plavin wrote:
>> # HG changeset patch
>> # User Alexander Plavin <me@aplavin.ru>
>> # Date 1374418254 -14400
>> #      Sun Jul 21 18:50:54 2013 +0400
>> # Branch stable
>> # Node ID b7367409ef4dcb86e2cb5056971af8ac5902906c
>> # Parent  d755725199c9fba008b9a3b2c321da07d75f352d
>> hgweb, paper: fix rendering of the first tab in a line in Webkit (issue3990)
>>
>> This fixes issue3990 for Webkit-browsers, and also older Opera versions.
>> Rendering in firefox is not changed.
>
> Queued for stable, thanks. Any thoughts on dealing with Firefox?

I have no idea about how to deal with it, tried some variants and
didn't succeed. Hope someone with more CSS kung-fu knowledge reads
this and finds a working solution.

>
> --
> Mathematics is the supreme nostalgia of our time.
>
>

Patch

diff -r d755725199c9 -r b7367409ef4d mercurial/templates/static/style-paper.css
--- a/mercurial/templates/static/style-paper.css	Sun Jul 21 01:38:04 2013 +0400
+++ b/mercurial/templates/static/style-paper.css	Sun Jul 21 18:50:54 2013 +0400
@@ -250,6 +250,7 @@ 
   color: #999;
   text-align: right;
   content: counters(lineno, ".");
+  float: left;
 }
 
 .sourcelines > span:target, tr:target td {