Closed Bug 190124 Opened 22 years ago Closed 22 years ago

Save Page As... complete missing image

Categories

(Core Graveyard :: File Handling, defect)

x86
Linux
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: tracy, Assigned: samir_bugzilla)

References

()

Details

(Keywords: smoketest)

Attachments

(1 file)

seen on linux commercial trunk build 2003-01-22-05-trunk

-following instructions for smoketest B.27:
-goto test URL
-Select File | Save Page As
-in file picker make sure Web Page, Complete is selected in Files of type:
-Save
-then File | Open File and the the mozorg.html file

tested results: the page is missing the mozilla.org header image

expected results: the page is rendered complete with all images
The image missing from the File Open display is actually present in the saved
mozorg_files folder.  But it is not being picked up by File Open.  I tried file
open of this Saved page with an older version of mozilla and the header is still
missing.
On windows build 2002-01-22-10-trunk Save Page As doesn't save anything. 

follow steps to test as above:

tested results:  No page is saved at all

expected results:  Page is saved to selected directory with supporting images file

this is worse than what I'm seeing on linux.  If it is believed to be a
different bug please open another.
reassigning to sgehani for triage
Assignee: law → sgehani
This is probably the same problem as in bug 190121.
I tried to view saved page in N7.0 and it didn't work either.
When I looked at source code I found out that there are two attributes
on the image element, width="0" and height="0".
This is obviously wrong.
Attached patch PatchSplinter Review
Send Pixel Units to GetPixelValue, not GetIntValue (which asserts and returns)
I wasn't getting the problem in Comment #2.
is this the same issue with bug 190121? dupe?
Comment on attachment 112327 [details] [diff] [review]
Patch

Wow, I suck.  Good catch.  I don't see any more of these in nsHTMLValue.cpp.
Attachment #112327 - Flags: review+
Comment on attachment 112327 [details] [diff] [review]
Patch

sr=blizzard
Attachment #112327 - Flags: superreview+
I can confirm that backing out of jkeiser's HTMLValue checkin fixed this bug.
and bug 190121 too.
checked-in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
verified with linux respin 2003-10-22-14-trunk
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: