- From: Anne van Kesteren <annevk@opera.com>
- Date: Mon, 06 Mar 2006 21:52:39 +0100
- To: "Web APIs WG (public)" <public-webapi@w3.org>
On Mon, 06 Mar 2006 21:42:47 +0100, Ian Hickson <ian@hixie.ch> wrote: >> When a document has no referencing element that points to it the >> document is the <dfn>root element</dfn>. > > Root document, I assume. This was mentioned in my direct follow-up e-mail (and fixed in a later version e-mailed to this list). >> <code>window.frameElement</code> from a child document MUST reflect the >> referencing element. <code>window.parent</code> MUST reflect the parent >> document Window object. <code>window.top</code> MUST reflect the root >> document Window object. > > What does "reflect" mean in this context? That the attribute represents the element/window. > Are these properties read-only? Given the IDL, I'd say yes. > Are they replaceable in JS? Yes, as mentioned in a follow-up e-mail. >> If there is no referencing element, parent document or root document the >> attributes MUST be <code>null</code> respectively. > > window.parent and window.top return "window" in these cases, IIRC. I > recommend testing this carefully. This has already been fixed, see newer text. >> <code>window.name</code> from a child document MUST initially reflect >> the name >> assigned by the referencing element. > > Not sure what you mean by "from a child document" here (or "reflect", or > "assigned by the referencing element). See newer text. >> How this name is assigned is language specific. If there is no >> referencing element this attribute MUST be the empty string. The >> document itself can change its name by changing <code>window.name</code> >> to any arbitrary string. > > That last sentence is non-normative. Do you mean that the attribute's > value must be mutable and that its setter must set the value to the > literal value given? See newer text. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Monday, 6 March 2006 20:52:47 UTC