From 1bde001d3be2814c3e49d1927b22f2d15193b1d9 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 14 Mar 2010 09:29:54 -0400 Subject: HTML line numbers are clickable, and highlight the line on arrival. Also, noticed that IE8 didn't line up the line number properly, so added an unfortunate meta tag to make it right. Closes issue #55. --- coverage/htmlfiles/pyfile.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'coverage/htmlfiles/pyfile.html') diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 209887b7..4aa4309f 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -1,11 +1,17 @@ - + + {# IE8 rounds line-height incorrectly, and adding this emulateIE7 line makes it right! #} + {# http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/7684445e-f080-4d8f-8529-132763348e21 #} + Coverage for {{cu.name|escape}}: {{nums.pc_covered|format_pct}}% + @@ -31,7 +37,7 @@ {% for line in lines %} -

{{line.number}}

+

{{line.number}}

{% endfor %} -- cgit v1.2.1