rviscomi/trunk8

Something broken?

warbot opened this issue · 4 comments

Can try this within console:
document.body.innerHTML = "<div id='tst' style='max-width:40px; border: 1px solid red;'>more then 50px block; something more here</div>"; $('#tst').trunk8();

and... nothing happens

If you empty the HTML content of the document body, there will be no element to match the selector "#tst".

@rviscomi, i've update the text in my message above(html code was escaped); if that still is a bad example, could you, please, add your example including html to doc. Because now, at least for me, the behavior is unexpected. Thank you.

@ted-softserve I'm not able to reproduce the behavior you describe. If possible, could you create a page on http://jsfiddle.net/ and post it back here? Thanks