Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Issue 2868071: Fix for Issue 50340: @page rules inside @media print rules are not properly... (Closed)

Created:
10 years, 5 months ago by Yuzo
Modified:
9 years, 7 months ago
Reviewers:
hamaji
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Base URL:
svn://chrome-svn.corp.google.com/chrome/trunk/src/
Visibility:
Public.

Description

Fix for Issue 50340: @page rules inside @media print rules are not properly handled The cause of the bug is that the document is not in printing mode when the page size is checked. BUG=50340 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53907

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M chrome/renderer/print_web_view_helper.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Yuzo
Hamaji-san, Can you take a look?
10 years, 5 months ago (2010-07-27 09:33:52 UTC) #1
hamaji
LGTM. Do we need a similar change for linux, too?
10 years, 5 months ago (2010-07-27 10:21:39 UTC) #2
Yuzo
Thank you for your review. I think no change is needed for linux. For linux, ...
10 years, 4 months ago (2010-07-28 03:08:45 UTC) #3
Yuzo
10 years, 4 months ago (2010-07-28 21:24:44 UTC) #4
I was wrong :(
Change was needed also for linux. Uploaded a patch to:
http://codereview.chromium.org/3047018/show

On 2010/07/28 03:08:45, Yuzo wrote:
> Thank you for your review.
> 
> I think no change is needed for linux.
> 
> For linux, PrintWebViewHelper::GetPageSizeAndMarginsInPoints is called only
from
> PrintWebViewHelper::Print and PrintWebViewHelper::PrintPage, and it works fine
> in
> that case (for Mac, at least).
> 
> I'll check with linux binary when it's built.
> 
> On 2010/07/27 10:21:39, hamaji wrote:
> > LGTM. Do we need a similar change for linux, too?

Powered by Google App Engine
This is Rietveld 408576698