Open Bug 186397 Opened 22 years ago Updated 2 years ago

Include rollover images referenced by ECMA script when saving as web page, complete

Categories

(Firefox :: File Handling, enhancement)

enhancement

Tracking

()

People

(Reporter: neady, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

In the most easily identifiable cases, images used by Javascript (such as 
for rollovers) should be included when doing Save As: Web Page, Complete.
For example, in the page at the cited location, you can see code like the
following:
onmouseover="document.images.librarycatalog.src='../images3/librarycatalogb.gif'"

There will of course always be cases where you cannot determine what 
resources the script will want at runtime, but in simple cases like this
it should be possible to make that determination and include the item.

Reproducible: Always

Steps to Reproduce:
1. Visit a page with rollovers, e.g., http://www.galionlibrary.org/
2. File->Save Page As
3. Make sure format is set to Webpage, Complete
4. Click Okay.
5. File->Open
6. Select the page you just saved.
7. Move mouse over the page (especially over images; in the case
   of the example, try the images at left, "Library Catalog" &c.

Actual Results:  
Images are broken.  When moving mouse out, images are still broken.

Expected Results:  
Display the images.
Blocks: 115634
Please ignore the out-of-date User-Agent; that's what I happened to be using
when reporting, but the behavior is the same on 1.2.1 on Linux, 1.1a on Win32.
Confirmed with windows Mozilla build 2004041208. The image rollovers do not
function in the saved page.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: law → nobody
QA Contact: chrispetersen → file-handling
Product: Core → Firefox
Version: Trunk → unspecified
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.