Re: [css3-text] Word wrap confirmation

On Tuesday 2007-03-06 23:23 +0000, Daniel Beardsmore wrote:
> Boris Zbarsky wrote:
> >Daniel Beardsmore wrote:
> >>So I tried it in IE 6 and Firefox 2 and, it seems to not be widely 
> >>implemented, making it useless in the real world, which is a real pity.
> >
> >Gecko has "white-space: -moz-pre-wrap" which acts very similarly.  So if 
> >you do:
> 
> Damn, man. What's with Gecko renaming everything like that?

I think you have the timeline backwards.

Gecko added -moz-pre-wrap support in March 1999 (so it's been in all
released versions). [1] [2]

Opera added -pre-wrap support in version 4 (June 2000) and changed
it to -o-pre-wrap in version 7 (January 2003). [1] [3]

IE/Windows added word-wrap: break-word in version 5.5 (July 2000).
[1] [4]

(I believe HP also implemented -hp-pre-wrap at some point.)

Because of the clear need demonstrated by implementors needing to
add proprietary properties, pre-wrap was added to CSS2.1 in the
second draft, in January 2003:
http://www.w3.org/TR/2003/WD-CSS21-20030128/


I do hope to add support for 'white-space: pre-wrap' relatively
soon, but given that authors can use our existing support [1], and
we do need to verify that we actually implement it correctly
according to the Candidate Recommendation spec before claiming to
support it, other things have been a higher priority.  We should
have significantly improved 'white-space' support in Gecko 1.9, so
that may end up being a good time for it.

-David

[1] http://users.tkk.fi/~tkarvine/pre-wrap-css3-mozilla-opera-ie.html
[2] http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&who=kipp%25netscape.com&whotype=match&sortby=Date&date=explicit&mindate=922853520&maxdate=922853640&cvsroot=%2Fcvsroot
[3] http://en.wikipedia.org/wiki/Opera_%28browser%29
[4] http://en.wikipedia.org/wiki/Internet_Explorer

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Wednesday, 7 March 2007 00:20:44 UTC