Closed Bug 326157 Opened 19 years ago Closed 19 years ago

Get rid of unneeded print clipping code

Categories

(Core :: Printing: Output, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sharparrow1, Assigned: sharparrow1)

Details

Attachments

(1 file)

All print clipping really needs to do is prevent the content from overflowing the margins. The other code doesn't do anything useful. Patch coming up.
Attached patch PatchSplinter Review
The only code being touched that actually ever did anything useful was the clip call in nsPageContentFrame.cpp and the SetClipRect call in nsSimplePageSequence.cpp which told it how to set the clip. With my changes, the nsPageContentFrame just clips to its boundaries, which works perfectly post-bug 317375. Note that this fixes selection printing, which was broken by bug 317375.
Attachment #210943 - Flags: review?(roc)
Checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: