[Bug 12926] The phrase "in a Document" is not consistently used in the specification

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

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> 2011-06-09 18:20:17 UTC ---
In particular, the link above defines it as "When an element's root element is
the root element of a Document object".  But
http://www.whatwg.org/specs/web-apps/current-work/multipage/apis-in-html-documents.html#apis-in-html-documents
talks about "in HTML documents" when it clearly means "when the ownerDocument
of the element is an HTML document".  

The spec really needs to be consistent about whether it means "the document the
element is actually in" (which might be null) or "the element's ownerDocument"
(never null).

As things stand, for example, I can't tell which of the two meanings is meant
at
http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#reflect
when talking about attributes of type HTMLElement.

-- 
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, 9 June 2011 18:20:24 UTC