comparison tests/test-highlight.t @ 19431:b8ecc3830c89

hgweb: introduce separate classes for stripey background Introduce stripes2 and stripes4 classes to support different structure. They will be useful to implement stripes with pure CSS everywhere instead of current server-side implementation.
author Alexander Plavin <me@aplavin.ru>
date Fri, 12 Jul 2013 23:47:56 +0400
parents 5ec5097b4c0f
children 9f471af285a9
comparison
equal deleted inserted replaced
19430:5ec5097b4c0f 19431:b8ecc3830c89
136 </table> 136 </table>
137 137
138 <div class="overflow"> 138 <div class="overflow">
139 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div> 139 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div>
140 <div class="sourcefirst"> line source</div> 140 <div class="sourcefirst"> line source</div>
141 <pre class="sourcelines wrap"> 141 <pre class="sourcelines stripes4 wrap">
142 <span id="l1"><span class="c">#!/usr/bin/env python</span></span><a href="#l1"></a> 142 <span id="l1"><span class="c">#!/usr/bin/env python</span></span><a href="#l1"></a>
143 <span id="l2"></span><a href="#l2"></a> 143 <span id="l2"></span><a href="#l2"></a>
144 <span id="l3"><span class="sd">&quot;&quot;&quot;Fun with generators. Corresponding Haskell implementation:</span></span><a href="#l3"></a> 144 <span id="l3"><span class="sd">&quot;&quot;&quot;Fun with generators. Corresponding Haskell implementation:</span></span><a href="#l3"></a>
145 <span id="l4"></span><a href="#l4"></a> 145 <span id="l4"></span><a href="#l4"></a>
146 <span id="l5"><span class="sd">primes = 2 : sieve [3, 5..]</span></span><a href="#l5"></a> 146 <span id="l5"><span class="sd">primes = 2 : sieve [3, 5..]</span></span><a href="#l5"></a>