[Webkit-unassigned] [Bug 35308] Make setPrinting(false, ...) restore the previous used media type
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 23 13:25:01 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=35308
--- Comment #4 from Kenneth Rohde Christiansen <kenneth at webkit.org> 2010-02-23 13:25:01 PST ---
Darin,
I was thinking about change setPrinting into a
enterPrintingMode(minimumPageWidth, maximumPageWidth, adjustViewSize)
and a
leavePrintingMode(adjustViewSize),
but I do not understand how you are using it, for instance in
WebKit/mac/WebView/WebHTMLView.mm I find code like
1028 for (unsigned i = 0; i < count; ++i)
1029 [[descendantWebHTMLViews objectAtIndex:i] _setPrinting:YES
minimumPageWidth:0.0f maximumPageWidth:0.0f adjustViewSize:NO];
so the above might not cover your use cases.
When leaving printing mode, you normally call with 0 and min and max width, so
is this supposed to correspond to a normal invalidation plus forceLayout?
What is the usecase for not calling adjustViewSize (thus adjusting the content
size)?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list