W3C home > Mailing lists > Public > public-html@w3.org > November 2007

Re: Whitespace before <head>

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 16 Nov 2007 11:06:54 -0600
Message-ID: <473DCE2E.9050105@mit.edu>
To: Chris Wilson <Chris.Wilson@microsoft.com>
CC: public-html <public-html@w3.org>

Chris Wilson wrote:
> And please don't be so blithe about Microsoft.  We drop whitespace around the
> head, and I believe we still have some issue in table cells; in general, the
> Trident engine was designed to round-trip content, including whitespace.  We
> could not, as noted, support CSS' white-space:pre if we didn't.

Chris, last I checked styling a node with "white-space: pre" will actually 
change the DOM in Trident (Text nodes that didn't use to be there will appear). 
  So while I accept that you're keeping the whitespace around _somewhere_ 
internally, in practice as far as web authors are concerned you drop all sorts 
of whitespace from the DOM... unless the style happens to be "white-space: pre".

-Boris
Received on Friday, 16 November 2007 17:07:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:09 GMT