W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > May 2011

[Bug 12031] Please provide example of fragment parsing w/o a contextElement

From: <bugzilla@jessica.w3.org>
Date: Thu, 05 May 2011 07:01:40 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QHsZA-0005He-3G@jessica.w3.org>

Henri Sivonen <hsivonen@iki.fi> changed:

           What    |Removed                     |Added
                 CC|                            |hsivonen@iki.fi

--- Comment #5 from Henri Sivonen <hsivonen@iki.fi> 2011-05-05 07:01:39 UTC ---
(In reply to comment #4)
> Setting document.innerHTML calls the algorithm without a context element.

Implementors should note that document.innerHTML isn't descriptive of the Web
but an prescriptive addition that just looks a lot like it might be part of the
descriptive content of the spec.

FWIW, when there's no context, Gecko uses body in the HTML namespace as the
context. I'm assuming that this situation could arise with
Range::createContextualFragment somehow, but I'm not sure how exactly.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 5 May 2011 07:01:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:49 UTC