Closed Bug 128427 Opened 24 years ago Closed 24 years ago

[FIX]Title and URL gets wrong in Print Preview after an object including html

Categories

(Core :: Print Preview, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: fredrik, Assigned: rods)

References

()

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8+) Gecko/20020228 BuildID: 2002022808 The page has an <object data="questionaire.html" type="text/html"></object>, and the print preview of the page gets the url and title from the questionaire-file instead of current file. Furthermore, the data from questionaire.html never gets included in the print preview. Reproducible: Always Steps to Reproduce: 1.Go to the URL 2.Chose Print Preview 3.(if the page is changed), probably make an html with another html included as an object....
confirming...I see the title issue...but I don't see the URL problem... the URL I see in upper right corner = http://fredrik.liljegren.org/gnuduc/ which is correct, no?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
Keywords: nsbeta1
Summary: Title and URL gets wrong in Print Preview after an object including html → [FIX]Title and URL gets wrong in Print Preview after an object including html
Attached patch testcase — — Splinter Review
Object tags should be treated as IFrames as far as printing and PP is concerned.
The second part of this bug about the object tag appearing on the wrong page is covered by Bug 129034
Comment on attachment 72586 [details] [diff] [review] testcase r=dcone
Attachment #72586 - Flags: review+
Keywords: nsbeta1 → nsbeta1+
Keywords: review
Target Milestone: --- → mozilla1.0
Comment on attachment 72586 [details] [diff] [review] testcase sr=attinasi
Attachment #72586 - Flags: superreview+
Rod, I SR'd the patch, but I'm curious if this should only apply to objects with HTML content, or to all objects as the patch currently does it?
What this small patch is really saying is that the object tags will be treated like an IFrame (when the object tag is/has a subdocument). I talked to Peter, this is the right thing to do.
Comment on attachment 72586 [details] [diff] [review] testcase a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #72586 - Flags: approval+
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
this problem is fixed...however, Fredrik, your page is not rendering correctly in PP mode..you may wanna file a new bug on that issue. I get a big grey rectangle at the top in PP mode. verified in 3/8 build
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: