I am doing something similar to the following:
framesetref.rows = "200,*";

Initially the value of framesetref.rows is "52,*" -- but changing the value
of the rows attribute does not produce a corresponding change in what is
viewable on-screen.  I would argue that this is not the desired and expected
result.

Further muddying the picture, there is a mismatch both within the Moz DOM
documentation, and also in the W3 documentation.

The documentation for framesets given in the Mozilla DOM is as follows:
cols--   This property sets or returns the size of the columns of frames in
the frameset.
rows--   This property sets or returns the number of rows of frames in the
frameset.

Clearly, according to this documentation, cols and rows are quite different.
There is a considerable difference between specifying the number of frames
that are in a frameset and specifying the size of those frames.

In the W3 documentation for "Document Object Level 2 HTML", it is stated
that the rows attribute and the cols attribute respectively give the number
of rows and the number of columns in the frameset, and then proceed to refer
the reader to the definition of rows and cols in HTML 4.01.  Rows and cols
in html 4.01 specify the dimensions with which frames are laid out within
framesets.

So: I am left with a number of questions and issues:
 1) The Mozilla DOM definition for the cols attribute is consistent with
HTML 4.01 (number of frames), and the Mozilla DOM definition for the rows
attribute is consistent with the proposed "Document Object Level 2 HTML"
spec (size of frames in frameset).
 2) Is the difference between HTML 4.01 and "Document Object Level 2 HTML"
intended by the W3 folk?
 3) Most importantly, if I cannot use the rows attribute of a frameset to
change the dimensions of a frameset, are there any alternate means of
resizing the frameset that exist?  Perhaps something involving XUL?


Dean Fitzgerald



Reply via email to