On 4/8/11 9:24 AM, Boris Zbarsky wrote:
In the text at http://www.w3.org/TR/selectors-api2/#the-scope-pseudo-class the term "belongs to a document" is not defined. Does it mean "there is a Document on the parent chain", or does it mean "ownerDocument is not null"?
Then again, maybe it doesn't matter now that I think about it.In which case, do we just want to define :scope as matching the documentElement of the ownerDocument of the element in question?
-Boris
