i use firefox 17.0.1.
using plugin with {live: true} and css media queries.
after loading page i get what expected, but only in one case, when children element is larger than parent it wrong truncate text.
after resizing all looks ok.
have to use spike <span> </span> before child element to make it works correctly.
code looks like this:
$('.div1').ellipsis({
live: true
})
.div0 {
padding-top: 15px;
padding-right: 15px;
}
.div1 {
height: 205px;
padding: 0;
margin: 0;
}
<div class="div0">
<div class="div1">
<p>some long text makes this paragraph height more than 205px</p>
</div>
</div>
i use firefox 17.0.1. using plugin with {live: true} and css media queries. after loading page i get what expected, but only in one case, when children element is larger than parent it wrong truncate text. after resizing all looks ok. have to use spike
<span> </span>
before child element to make it works correctly.code looks like this: