Open Bug 715067 Opened 13 years ago Updated 2 years ago

Print only prints 2 pages of 23-page Microsoft KB 887303 , caused by css; body{ height: 100%; overflow-y: scroll; }

Categories

(Core :: Printing: Output, defect)

defect

Tracking

()

People

(Reporter: bhami, Unassigned)

References

()

Details

(Keywords: dataloss, testcase)

Attachments

(5 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Build ID: 20111220165912 Steps to reproduce: Tried to print http://support.microsoft.com/kb/887303 Actual results: Both Print Preview and Print only print the first 2 pages instead of the approx. 23 pages printed by Internet Explorer. Same behavior in both Firefox 3.6.x and 9.0.1. Expected results: Should have printed all 23 pages.
Reproduced: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.25) Gecko/20111212 Firefox/3.6.25 Mozilla/5.0 (X11; Linux x86_64; rv:12.0a1) Gecko/20120103 Firefox/12.0a1
OS: Windows 7 → All
Priority: P4 → --
Hardware: x86_64 → All
Version: 9 Branch → Trunk
Attached file Test #2
Same as the first attachment but with "display:inline-block" removed in the rule for #gsfx_brnd_PageContainer This prints the right amount of pages, but all except the last two are blank.
Attached file Test #3
Same as #2 but with "display:table" removed from the rule for #contentArea This prints all pages with content.
Not sure if there's a real bug here but it seems worth minimizing Test #2 and #3 to figure out exactly why we print them as we do...
Component: General → Print Preview
Product: Firefox → Core
QA Contact: general → printing
Component: Print Preview → Printing: Output
Attached file min testcase html
The following css causes the problem. html, body { height: 100%; } body {overflow-y: scroll; }
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: Print only prints 2 pages of 23-page Microsoft KB 887303 → Print only prints 2 pages of 23-page Microsoft KB 887303 , caused by css; body{ height: 100%; overflow-y: scroll; }
Perhaps we should treat overflow:scroll/auto as visible in Print modes for content where the scrollbar would normally be propagated to the viewport in Screen mode?
That would make sense to me.
Attached file another testcase
Keywords: dataloss
Blocks: 1302489
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: