On Jun 2, 2007, at 1:31 AM, Anne van Kesteren wrote:
On Sat, 02 Jun 2007 01:06:12 +0200, Maciej Stachowiak
<[EMAIL PROTECTED]> 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