W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2008

[whatwg] whitespace compression in document.title

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 18 Aug 2008 02:19:15 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0808180218110.9667@hixie.dreamhostps.com>
On Mon, 18 Aug 2008, Robert O'Callahan wrote:
>
> IE7, FF3 and Opera 9.51 compress whitespace when getting document.title. 
> \t and \n (at least) are converted to spaces, runs of consecutive spaces 
> are compressed to a single space, and leading and trailing spaces are 
> stripped. Safari 3.1 follows the spec and does none of this.

Do you mean for the purposes of the interface? Or in the API?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 17 August 2008 19:19:15 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:04 UTC