The css tricks you linked are shady towards cross-browser compliance. Using
XUL on a website just to have it working in firefox? No, thank you.

What about serving plain text or actually any kind of non-html content? Why
would I use CSS there?

How far are you going to go just to prove that every single person who has
ever asked for a "truncate filter" is wrong? because there's a hell of a lot
of them.

J. Leclanche / Adys


On Wed, Dec 30, 2009 at 8:37 PM, Ian Kelly <ian.g.ke...@gmail.com> wrote:

> On Wed, Dec 30, 2009 at 11:21 AM, Jerome Leclanche <adys...@gmail.com>
> wrote:
> >
> > On Wed, Dec 30, 2009 at 8:02 PM, Ian Kelly <ian.g.ke...@gmail.com>
> wrote:
> >>
> >> What I haven't seen yet for this filter is a clear use case.  If
> >> you're just trying to get something working quickly, then slice is
> >> fine.  When you're ready to go back and do it right, then the optimal
> >> solution is to use CSS [1].  If you only want to truncate at word
> >> boundaries, then you'll just use truncate_words.  What requirement
> >> does a truncate filter satisfy that these other solutions don't?
> >>
> >> [1] http://mattsnider.com/css/css-string-truncation-with-ellipsis/
> >>
> >> Ian
> >
> > Then perhaps you should read the past few mails, I've given 5 different
> use
> > cases.
> > J. Leclanche / Adys
>
> All of which could be handled just as well or better using CSS, unless
> there's something I'm missing, which is the reason I asked.
>
> Ian
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To post to this group, send email to django-develop...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-developers+unsubscr...@googlegroups.com<django-developers%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-developers?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.


Reply via email to