[Bug 27743] It would be clearer if Documents had mode and type explicitly included in their list of "internal slots"

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27743

--- Comment #2 from Domenic Denicola <d@domenic.me> ---
I am mainly just suggesting a minor editorial tweak. Namely, replace the
current text with:

[[

Each document has an associated encoding, content type, URL, type, and mode.

Unless stated otherwise, a document's encoding is the utf-8 encoding, its
content type is "application/xml", and its URL is "about:blank".

A document's type is either XML or HTML; we say it is an "XML document" or
"HTML document" respectively. A document is assumed to be an XML document
unless it is flagged as being an HTML document. Whether a document is an HTML
document or an XML document affects the behavior of certain APIs.

A document's mode is one of: no-quirks mode, the default; quirks mode, used
typically for legacy documents; and limited-quirks mode. Unless stated
otherwise, a document must be in no-quirks mode.
]]

Then you could amend the concept-node-clone to say

> Its encoding, content type, URL, its mode, and its type

instead of the current

> Its encoding, content type, URL, its mode (quirks mode, limited quirks mode, or no-quirks mode), and its type (XML document or HTML document).

The main benefit here is that saying "Each document has an associated encoding,
content type, URL, type, and mode" instead of "Each document has an associated
encoding, content type, and URL" seems more honest.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 5 January 2015 16:37:07 UTC