[whatwg] HTMLDocument.title and SVGDocument
Maciej Stachowiak
mjs at apple.com
Sat Jun 2 01:44:33 PDT 2007
On Jun 2, 2007, at 1:31 AM, Anne van Kesteren wrote:
> On Sat, 02 Jun 2007 01:06:12 +0200, Maciej Stachowiak
> <mjs at apple.com> wrote:
>> I like the "check the root element" option. That way, one could
>> use the exact same Document object implementation for SVG and
>> XHTML, while remaining compatible with expected behavior for
>> existing content in both languages. Compound documents where both
>> the HTML and the SVG have a title are possible, but that seems
>> obscure enough that a special DOM API to get both titles is
>> probably unnecessary.
>
> Even in that case only one title can be the document title.
If we define which is the document title in such cases than both
HTMLDocument and SVGDocument returning that seems better than
separate results.
- Maciej
More information about the whatwg
mailing list