diff --git a/mercurial/templates/paper/map b/mercurial/templates/paper/map --- a/mercurial/templates/paper/map +++ b/mercurial/templates/paper/map @@ -99,9 +99,9 @@ comparisonblock =' {lines} ' comparisonline = ' - - {leftlinenumber} {leftline|escape} - {rightlinenumber} {rightline|escape} + + {leftlinenumber} {leftline|escape} + {rightlinenumber} {rightline|escape} ' changelogparent = ' diff --git a/mercurial/templates/static/style-paper.css b/mercurial/templates/static/style-paper.css --- a/mercurial/templates/static/style-paper.css +++ b/mercurial/templates/static/style-paper.css @@ -252,7 +252,7 @@ h3 { content: counters(lineno, "."); } -.sourcelines > span:target { +.sourcelines > span:target, tr:target td { background-color: #bfdfff; } diff --git a/tests/test-hgweb-diffs.t b/tests/test-hgweb-diffs.t --- a/tests/test-hgweb-diffs.t +++ b/tests/test-hgweb-diffs.t @@ -660,9 +660,9 @@ comparison new file - - - 1 a + + + 1 a @@ -782,13 +782,13 @@ comparison existing file - - 1 a - 1 a + + 1 a + 1 a - - - 2 a + + + 2 a @@ -906,13 +906,13 @@ comparison removed file - - 1 a - + + 1 a + - - 2 a - + + 2 a +