Re: [css-d] word-wrap: break-word not working in Firefox

2008-10-14 Thread Jukka K. Korpela
David Dorward wrote:

 In my
 experience, most people wanting to use break-word are trying to get
 user generated content to not flow out of their design.

Mine too.

 In that case,
 the solution I'd suggest is better sanity checking of the data coming
 from the user

Agreed, but I count preprocessing as sanity checking.

 (Sorry, words containing over 30 characters are not
 allowed).

Words containing more than 30 characters are often needed in many languages, 
like Finnish, Eskimo, and German. Even English has some fairly long words at 
times, and excluding them is not wise in general. Moreover, many languages 
don't use spaces between words, so the technical concept of word (a 
sequence of non-whitespace characters surrounded by whitespace or start or 
end of string) often results in very long words.

There is no good solution, and really nothing in CSS you could do for _word_ 
breaks (as opposite to brutal string breaks via nonstandard CSS). This is 
something that CSS _should_ address (hyphenation is really a presentational 
issue and could well be addressed in CSS at least at the level of hyphenate 
if you can vs. don't hyphenate) but currently doesn't.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] word-wrap: break-word not working in Firefox

2008-10-13 Thread David Dorward
2008/10/10 Vincent Pollard [EMAIL PROTECTED]:
 What do people think the easiest solution is for this problem?

That isn't the problem - its a failed solution.

How you go about solving the real problem depends on what it is. In my
experience, most people wanting to use break-word are trying to get
user generated content to not flow out of their design. In that case,
the solution I'd suggest is better sanity checking of the data coming
from the user (Sorry, words containing over 30 characters are not
allowed).



-- 
David Dorward http://dorward.me.ukhttp://blog.dorward.me.uk
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] word-wrap: break-word not working in Firefox

2008-10-12 Thread Thierry Koblentz
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 discuss.org] On Behalf Of Vincent Pollard
 Sent: Friday, October 10, 2008 8:56 AM
 To: CSS Discuss
 Subject: [css-d] word-wrap: break-word not working in Firefox
 
 What do people think the easiest solution is for this problem?


Hi Vincent,

We use a script to plug wbr elements within long strings.
It's kind of ugly, but it does the job.


-- 
Regards,
Thierry | http://www.TJKDesign.com




__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] word-wrap: break-word not working in Firefox

2008-10-11 Thread Big John
Vincent Pollard wrote:

 What do people think the easiest solution is for this problem?

It doesn't work because unlike every other major browser,
The Firefox people haven't seen fit to support it. I would
guess that this change is fairly easy, given the support 
everywhere else, so FF's intransigence seems inexplicable.

However I could be wrong and there just might be some
valid reason why FF isn't supporting such an incredibly 
useful property. Is it because it's *only* CSS3 and so
they aren't required to support it? That didn't stop
Opera or Safari.

If I'm off-base here, please someone straighten me out.

As for alternatives, well, there's overflow: hidden...

Big John
http://positioniseverything.net




  
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] word-wrap: break-word not working in Firefox

2008-10-11 Thread Philippe Wittenbergh

On Oct 12, 2008, at 8:14 AM, Big John wrote:

 What do people think the easiest solution is for this problem?

 It doesn't work because unlike every other major browser,
 The Firefox people haven't seen fit to support it. I would
 guess that this change is fairly easy, given the support
 everywhere else, so FF's intransigence seems inexplicable.

 However I could be wrong and there just might be some
 valid reason why FF isn't supporting such an incredibly
 useful property. Is it because it's *only* CSS3 and so
 they aren't required to support it? That didn't stop
 Opera or Safari.

Maybe because it is part of **draft** specification ? And one that is  
seriously under discussion and review ?
And no, the implementation was not 'fairly easy'.

That said, 'word-wrap:break-word' will be supported in Gecko 1.9.1 (Fx  
3.1, when it is released sometime next year).

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] word-wrap: break-word not working in Firefox

2008-10-10 Thread Vincent Pollard
What do people think the easiest solution is for this problem?

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/