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

Adam Barth w3c at adambarth.com
Tue Sep 7 17:20:50 PDT 2010

The HTML parser expands the isindex element into a bunch of other
elements, so it never inserts that element into the tree.  Of course,
an isindex element could have been inserted via the DOM...


On Tue, Sep 7, 2010 at 4:44 PM, Ryosuke Niwa <ryosuke.niwa at gmail.com> wrote:
> Hi,
> In HTML fragment serialization algorithm, we skip elements with empty
> content model in step 2.2:
> If current node is
> an area, base, basefont, bgsound, br, col, embed, frame, hr, img, input, keygen, link, meta, param,
> or wbrelement, then continue on to the next child node at this point.
> For consistency, I propose to skip children of source and track elements as
> well.
> 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?
> Best,
> Ryosuke Niwa
> Software Engineer
> rniwa at webkit.org

More information about the whatwg mailing list