Closed Bug 173501 Opened 22 years ago Closed 22 years ago

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

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bugmoz, Assigned: john)

Details

Attachments

(1 file)

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.
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.)
Reproduced using nightly Linux build downloaded from
http://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu-installer.tar.gz
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
2002100808

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">
        </frameset>
    </frameset>
</frameset>

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...
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.
Status: UNCONFIRMED → RESOLVED
Closed: 22 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.

Attachment

General

Creator:
Created:
Updated:
Size: