ftlabs / ftellipsis

Multi-line ellipsis made possible
MIT License
486 stars 36 forks source link

Long connected string causes issues #8

Closed muhammad-saleh closed 10 years ago

muhammad-saleh commented 10 years ago

I had issues when I tested with a long connected string like this: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

the issue is that it reserved the long text space however the displayed text is the desired result

matthew-andrews commented 10 years ago

Would you mind putting together a quick reduced test case on jsbin (or similar)?

muhammad-saleh commented 10 years ago

Please let me know if you need anything else

http://jsbin.com/takes/1/edit?html,output

if you can notice the container div has width and it's floated so the next div which is also floated should be just next to the container but it's not

I'm not sure if this how it supposed to work or there's something I don't quite get

matthew-andrews commented 10 years ago

Wow. That's a bug in Chrome!

As you can see here it's reproducible in CSS:- http://jsbin.com/zobor/1/edit?html,css,js,output

I've raised a bug with Google here:- https://code.google.com/p/chromium/issues/detail?id=372052&thanks=372052&ts=1399675074

muhammad-saleh commented 10 years ago

I closed it cause I'm not sure if it's an issue or I'm doing something wrong

matthew-andrews commented 10 years ago

You're not doing anything wrong - it's a bug in the web browser :-)

muhammad-saleh commented 10 years ago

Okay great :) thanks for your time