W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] Descendents of source and track elements should be skipped when serializing HTML fragment (10.3)

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 8 Dec 2010 00:28:04 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1012080025420.26618@ps20323.dreamhostps.com>
On Tue, 7 Sep 2010, Ryosuke Niwa wrote:
> In HTML fragment serialization algorithm, we skip elements with empty 
> content model in step 2.2: [...]
> For consistency, I propose to skip children of source and track elements 
> as well.

Oops. Added. Thanks.

> Also, the algorithm does not seem to specify the behavior on deprecated 
> (or undocumented) elements such as isindex.  Can we assume that the 
> serialization of such elements are UA-defined?

No, such elements must be treated as unknown elements when serialising. 
<image> and <isinde> are the only two I'm aware of, but they get processed 
specially in the parser, and aren't considered "real" elements. (They are 
documented, though.)

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 7 December 2010 16:28:04 UTC

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