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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12031

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