Closed
Bug 609272
Opened 14 years ago
Closed 14 years ago
Iframe containing route information doesn't show up in print preview for maps.google.com
Categories
(Core :: Print Preview, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla2.0b8
| Tracking | Status | |
|---|---|---|
| blocking2.0 | --- | final+ |
People
(Reporter: andreea.pod, Assigned: bzbarsky)
References
()
Details
(Keywords: regression, top100)
Attachments
(3 files)
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b8pre) Gecko/20101102 Firefox/4.0b8pre
Build Identifier: Mozilla/5.0 (X11; Linux i686; rv:2.0b8pre) Gecko/20101102 Firefox/4.0b8pre
First page contains the map and the rest of the pages are blank and have some lines.
Reproducible: Always
Steps to Reproduce:
1.Visit maps.google.com
2.Find a location to go to, then map directions from your location to there.
3.Open print preview.
Actual Results:
On the first page the map is shown and the next pages are blank.
Expected Results:
The map and additional information should appear on pages.
Updated•14 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Comment 1•14 years ago
|
||
| Reporter | ||
Comment 2•14 years ago
|
||
Updated•14 years ago
|
Component: General → Print Preview
Product: Firefox → Core
QA Contact: general → printing
Comment 3•14 years ago
|
||
Lots of people look for directions on google maps and they print them to find their way. I'm nominating because it's a very common use case.
blocking2.0: --- → ?
Comment 4•14 years ago
|
||
Is this a regression with respect to Firefox 3.5 or 3.6, or has this always been broken?
If it is a regression, could someone track down the regression range?
blocking2.0: ? → final+
Comment 5•14 years ago
|
||
It works in Firefox 3.6.12 on Linux.
It does not work in Firefox trunk on Linux.
The regression occurred 2010-10-06-03 (b7pre) -- 2010-10-07-03 (b8pre)
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=dee1e01fd8ed&tochange=5bb4f093a50b
In the former build, where it works, the map image is pushed to the 2nd
page (where it appears to fit), drive directions is on the 3rd page.
In the latter build, the map image appears on the first page where
it doesn't fit, it's clipped and the lower part appears on the 2nd page
followed by "Driving directio to ..." header but there are no directions -
most of page 2 and the whole page 3 are blank.
Comment 6•14 years ago
|
||
Bug 542595 seems like the most likely culprit to me.
Updated•14 years ago
|
Keywords: testcase-wanted
(In reply to comment #6)
> Bug 542595 seems like the most likely culprit to me.
I'm not convinced; I'd like to see a narrower regression range.
Comment 8•14 years ago
|
||
Oh, I missed bug 129941 when glancing over the pushlog the first time.
That bug seems much more likely, and indeed when I revert it locally
I get the old behaviour.
Blocks: 129941
| Assignee | ||
Comment 9•14 years ago
|
||
The issue here is that <html> is overflow:hidden in this case. But we always create a regular blockframe for the root element, because if its overflow is not visible it's propagated to the viewport. So we were doing that, but then clipping to that blockframe. We need to not do that last. Patch coming up, with testcase and all, that fixes this.
Assignee: nobody → bzbarsky
Priority: -- → P1
Whiteboard: [need review]
| Assignee | ||
Updated•14 years ago
|
Keywords: testcase-wanted
| Assignee | ||
Comment 10•14 years ago
|
||
| Assignee | ||
Comment 11•14 years ago
|
||
Comment on attachment 490803 [details] [diff] [review]
Make sure to not apply clipping of overflow when printing to the root element, because it doesn't really make use of its overflow style itself.
Please double-check that using bit 28 here is ok? It should be, as far as I can see....
Attachment #490803 -
Flags: review?(dbaron)
| Assignee | ||
Comment 12•14 years ago
|
||
Though maybe the test should go in layout/reftests/printing....
Bit 28 looks fine, though I think it would be good to have all of the flags listed in one place (at the very least by putting in nsBlockFrame.h comments for the ones in nsHTMLParts.h). Still need to go through the rest of it.
Comment on attachment 490803 [details] [diff] [review]
Make sure to not apply clipping of overflow when printing to the root element, because it doesn't really make use of its overflow style itself.
r=dbaron
Attachment #490803 -
Flags: review?(dbaron) → review+
| Assignee | ||
Updated•14 years ago
|
Whiteboard: [need review] → [need landing]
| Assignee | ||
Comment 16•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [need landing]
Target Milestone: --- → mozilla2.0b8
Comment 17•14 years ago
|
||
Backed out the patch for being in the range of bug 615736
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Updated•14 years ago
|
Whiteboard: [need landing]
| Assignee | ||
Comment 18•14 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/5f664ece2759
Tree is green.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Whiteboard: [need landing]
You need to log in
before you can comment on or make changes to this bug.
Description
•