bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

needless frameset tag leaves some frames blank (fail to render)



Tech Evangelism Graveyard
English US
16 years ago
3 years ago


(Reporter: Alan De Smet, Assigned: John Keiser (jkeiser))




(1 attachment)



16 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910

If a page has an unnecessary "<frameset cols="*"> in it, some of the remaining
frames fail to appear.  While I suspect that the tag in question is unnecessary
and that the web page in question is probably buggy, Netscape 4.79 does render
the page as expected.  Ideally Mozilla would be more forgiving of erroneous web
pages written this way.

Reproducible: Always

Steps to Reproduce:
1. Open the "broken" attachment

Actual Results:  
Page is divided into two frames, a small top frame holding the mozilla.org
feedback page and a large blank frame at the bottom.

Expected Results:  
A small top frame holding the feedback page.  The bottom frame holds two
side-by-side frames, the left the mozilla.org at a glance page, and the right
the mozilla.rog home page.

Originally encountered with Mozilla 1.0.1.  Reproduced with Mozilla 1.2a
(Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910).  An HTML
testcase will be attached momentarally.

Comment 1

16 years ago
Created attachment 102331 [details]
Broken frameset that Mozilla renders unexpectedly

This example is likely not entirely valid HTML, but represents a distilled
version of a live page I encountered.  (The original has since been corrected
when I pointed out the problem, so I can't link to it.)

Comment 2

16 years ago
Reproduced using nightly Linux build downloaded from
on 2002-10-09.  The webserver identified the downloaded file as having been last
touched 2002-10-04.  This version of Mozilla identifies itself as "Mozilla/5.0
(X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021008" and gives a Build ID of

I also failed to note in my initial remote, in the testcase I attached, if you
delete the line marked "<frameset cols="*" > <!-- This line is the guilty party
-->" Mozilla renders be page as expected.  I believe that the line may be bogus
HTML, but represents usage found in the wild.
<frameset rows="120,*">
   <frameset cols="*" > <!-- This line is the guilty party -->
      <frame SRC="http://www.mozilla.org/feedback.html"> 
        <frameset cols="220, *">
            <frame SRC="http://www.mozilla.org/mozorg.html">

            <frame SRC="http://www.mozilla.org/" name="frame2">

That's two frames.  120px tall and rest of space.  In top frame, we have a
frameset taking all width.  In bottom frame we have nothing.

Now in this top frameset we have a frame (which takes up the one col allocated)
and a frameset which was not given a col and hence should not be rendered...

Comment 4

16 years ago
From the above comment this should be either forwarded to evangalism or marked
invalid. But first sending it to evangalism.
Component: Layout: HTMLFrames → US General
Product: Browser → Tech Evangelism
Version: other → unspecified
um... there's nothing here to evangelize.  There is no site.
Last Resolved: 16 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.