W3C home > Mailing lists > Public > www-html@w3.org > August 2005

Semantics of Frames Predefined Targets

From: May Haydar <may.haydar@crim.ca>
Date: Thu, 11 Aug 2005 11:25:48 -0400
Message-ID: <42FB6DFC.7050904@crim.ca>
To: www-html@w3.org

I have a question concerning the meaning of the predefined target 
_parent. In the specs, the following is written:

    The user agent should load the document into the immediate FRAMESET
    parent of the current frame. This value is equivalent to _self if
    the current frame has no parent.

It is unclear whether the immediate frameset parent is the frameset 
document in which the frame (where the target _parent exists) is 
defined, or is it the frameset tag under which the frame was defined. As 
an illustration, consider the following example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
<TITLE>A simple frameset document</TITLE>
<FRAMESET cols="20%, 80%">

  <FRAMESET rows="100, 200">
      <FRAME name="frameA" src="contents_of_frame1.html">
      <FRAME name="frameB" src="contents_of_frame2.gif">

  <FRAME name="frameC" src="contents_of_frame3.html">

If the page contents_of_frame1.html in FrameA contains a link with 
target _parent, is the page then displayed in the full window replacing 
all the 3 frames, or should it be the case that the page is displayed in 
the frameset area of only frameA and frameB while frameC is still apparent.

In other words, is the grahpical area of the inner frameset <FRAMESET 
rows="100, 200"> affected by the target, or is it the area of the outer 
frameset <FRAMESET cols="20%, 80%"> the one affected.


Thank you and regards,
Received on Friday, 12 August 2005 06:33:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:11 UTC