[whatwg] Descendents of source and track elements should be skipped when serializing HTML fragment (10.3)
ian at hixie.ch
Tue Dec 7 16:28:04 PST 2010
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
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg