Mercurial > hg
comparison tests/test-hgweb-commands.t @ 26245:d53212d70893
hgweb: replace .sourcelast with .bottomline that does the same
In paper and Coal, basically, div.sourcelast was only used to make a 1px border
on the bottom of file source view (and only there). It's better to use
bottomline class, that also exists for the same purpose (visually), but is used
more widely and works without needing an empty <div>.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 14 Sep 2015 18:41:09 +0800 |
parents | e466c15597a3 |
children | 1ffc61c4e32e |
comparison
equal
deleted
inserted
replaced
26244:399e970e35c8 | 26245:d53212d70893 |
---|---|
1333 </table> | 1333 </table> |
1334 | 1334 |
1335 <div class="overflow"> | 1335 <div class="overflow"> |
1336 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div> | 1336 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div> |
1337 <div class="sourcefirst"> line source</div> | 1337 <div class="sourcefirst"> line source</div> |
1338 <pre class="sourcelines stripes4 wrap"> | 1338 <pre class="sourcelines stripes4 wrap bottomline"> |
1339 <span id="l1">foo</span><a href="#l1"></a></pre> | 1339 <span id="l1">foo</span><a href="#l1"></a></pre> |
1340 <div class="sourcelast"></div> | |
1341 </div> | 1340 </div> |
1342 </div> | 1341 </div> |
1343 </div> | 1342 </div> |
1344 | 1343 |
1345 <script type="text/javascript">process_dates()</script> | 1344 <script type="text/javascript">process_dates()</script> |
1460 </table> | 1459 </table> |
1461 | 1460 |
1462 <div class="overflow"> | 1461 <div class="overflow"> |
1463 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div> | 1462 <div class="sourcefirst linewraptoggle">line wrap: <a class="linewraplink" href="javascript:toggleLinewrap()">on</a></div> |
1464 <div class="sourcefirst"> line source</div> | 1463 <div class="sourcefirst"> line source</div> |
1465 <pre class="sourcelines stripes4 wrap"> | 1464 <pre class="sourcelines stripes4 wrap bottomline"> |
1466 <span id="l1">another</span><a href="#l1"></a></pre> | 1465 <span id="l1">another</span><a href="#l1"></a></pre> |
1467 <div class="sourcelast"></div> | |
1468 </div> | 1466 </div> |
1469 </div> | 1467 </div> |
1470 </div> | 1468 </div> |
1471 | 1469 |
1472 <script type="text/javascript">process_dates()</script> | 1470 <script type="text/javascript">process_dates()</script> |