W3C home > Mailing lists > Public > www-style@w3.org > January 2009

(unknown charset) Re: Proposal for limited :matches pseudoclass

From: (unknown charset) Zack Weinberg <zweinberg@mozilla.com>
Date: Wed, 21 Jan 2009 18:12:31 -0800
To: (unknown charset) Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: (unknown charset) Eduard Pascual <herenvardo@gmail.com>, Fran├žois REMY <fremycompany_pub@yahoo.fr>, CSS 3 W3C Group <www-style@w3.org>
Message-ID: <20090121181231.59c3b2f9@mrtock.san.rr.com>

Boris Zbarsky <bzbarsky@MIT.EDU> wrote:
>
> <html>
>    <script>
>      window.onload = function() {
>        document.write("I never plan to document.close()");
>      }
>    </script>
> </html>
> 
> The page generated by the implied document.open() never finishes 
> loading.  This is not an uncommon pattern, actually.

Ok, so I am the last person to claim encyclopedic knowledge of the DOM,
but I didn't know there was any such thing as document.open or
document.close, and my naive expectation was that a bare document.write
had no lingering side effects.

zw
Received on Thursday, 22 January 2009 02:13:13 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:15 GMT