Bug 51328 - REGRESSION: body { height:100% } is clipped when printed
Summary: REGRESSION: body { height:100% } is clipped when printed
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P1 Normal
Assignee: Dave Hyatt
URL:
Keywords: Regression
Depends on:
Blocks:
 
Reported: 2010-12-20 04:55 PST by Shinichiro Hamaji
Modified: 2011-01-03 10:55 PST (History)
1 user (show)

See Also:


Attachments
Patch (6.13 KB, patch)
2011-01-03 10:49 PST, Dave Hyatt
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shinichiro Hamaji 2010-12-20 04:55:15 PST
Recent WebKit nightly outputs only 1 page for the following HTML:

<html>

<head>
<style>
body{
  height:100%;
}
</style>
</head>

<body>
<div style="width: 50px; height: 1500px; border: solid 1px"></div>
<div>This must be printed</div>
</body>

</html>

I binary-searched and I think the patch for Bug 49220 caused this regression.

The change is big so I didn't look into the change yet. It is very nice if Hyatt gives some comments on this bug or even fixes this by himself :)
Comment 1 Dave Hyatt 2011-01-03 10:49:41 PST
Created attachment 77825 [details]
Patch
Comment 2 Dave Hyatt 2011-01-03 10:55:16 PST
Fixed in r74908.