W3C home > Mailing lists > Public > public-html@w3.org > January to March 2007

Re: HTML parsing, <script>, and document.write() test/issue details?

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 15 Mar 2007 04:00:11 +0000 (UTC)
To: Dan Connolly <connolly@w3.org>
Cc: public-html@w3.org
Message-ID: <Pine.LNX.4.62.0703150350480.23123@dhalsim.dreamhost.com>

On Wed, 14 Mar 2007, Dan Connolly wrote:
> 
> I'd like to know more about the details. I'd particularly appreciate it 
> if somebody would put together a few test cases that show how parsing 
> rules are integrated with <script> and document.write().

If anyone wants to construct said tests, the relevant parts of the WHATWG 
specification are:

   http://www.whatwg.org/specs/web-apps/current-work/#how-to0
   (search for 'A start tag with the tag name "script"')
   ...for how to handle <script> when it is inserted

   http://www.whatwg.org/specs/web-apps/current-work/#document.write0
   ...for how to handle document.write()

   http://www.whatwg.org/specs/web-apps/current-work/#script2
   ...for the rules for how to handle <script>

The WHATWG spec cross-references terms, so you can easily follow where the 
parts are integrated.

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 15 March 2007 04:02:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 15 March 2007 04:02:45 GMT