Testcase for jQuery Ticket 4521
Claims jQuey inclusion bug
by jitter
HTML
<div id="box">
<table class="rounded">
<tr>
<td>
<b class="short"></b><b class="long"></b>
<div class="middle">Click here to show well~~</div>
<b class="long"></b><b class="short"></b>
</td>
</tr>
</table>
<p>Reference rendering</p>
<img src="http://j40.img-up.net/Clipboard09nfi.jpg" />
</div>
CSS
table.rounded {width: 270px;}
div.middle, b.short, b.long {background: #9BD1FA; display: block; overflow: hidden;}
div.middle {height: 16px; text-align: center;}
b.short {height: 1px; margin: 0 2px;}
b.long {height: 1px; margin: 0 1px;}
JavaScript
$(function ready() {
$("#box").one("click", function() {
$("#box").html($("#box").html());
});
});