On Fri, 15 Feb 2008 21:40:00 +0100, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
Anne van Kesteren wrote:
To ensure that naïve implementors don't overlook the potential issue
here. An implementation of NSResolver can be provided by the script
author as the specification explains and the script author can do all
kinds of weird things that don't match a conforming implementation of
NSResolver (such as mutating the DOM tree).
Is a conforming querySelector implementation allowed to throw an
exception when this happens?
No. It is only allowed to throw an exception when the text says so.
In fact, is a conforming querySelector implementation allowed to throw
an exception if the NSResolver does something that it detects is
non-conforming?
No.
--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>