Bug 69384

Summary: page with only fixed objects doesn't print
Product: WebKit Reporter: Tony Chang <tony>
Component: PrintingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dominicc, haraken, hyatt, webkit
Priority: P2    
Version: Safari 9   
Hardware: Mac   
OS: OS X 10.11   
Attachments:
Description Flags
test case none

Description Tony Chang 2011-10-04 15:46:53 PDT
The attached test case doesn't print on Chromium and on Safari prints a blank page.  Firefox and IE both print a page with "hello world" on the page.

Maybe this is related to bug 6790?

This bug was reported in http://code.google.com/p/chromium/issues/detail?id=98949 .
Comment 1 Tony Chang 2011-10-04 15:47:28 PDT
Created attachment 109707 [details]
test case
Comment 2 Kentaro Hara 2011-10-11 01:30:12 PDT
==========================
<!DOCTYPE html>
<html>
<head>
<style>
body {margin: 0;}
div { position: fixed; }
</style>
</head>
<body>
<div>Hello, world!</div>
</body>
</html>

Results:
Chrome 16.0.905.0 (WebKit 96921): Nothing happens
Safari 5.0.5 (WebKit 97102): Blank page
Firefox 6.0: Hello, world!
Opera 11.51: Hello, world!

==========================
<html>
<head>
<style>
body {margin: 0;}
div { position: fixed; }
</style>
</head>
<body>
<div>Hello, world!</div>
</body>
</html>

Results:
Chrome 16.0.905.0 (WebKit 96921): Hello, world!
Safari 5.0.5 (WebKit 97102): Blank page
Firefox 6.0: Hello, world!
Opera 11.51: Hello, world!

==========================
<!DOCTYPE html>
<html>
<head>
<style>
div { position: fixed; }
</style>
</head>
<body>
<div>Hello, world!</div>
</body>
</html>

Results:
Chrome 16.0.905.0 (WebKit 96921): Blank page
Safari 5.0.5 (WebKit 97102): Blank page
Firefox 6.0: Hello, world!
Opera 11.51: Hello, world!

==========================
<html>
<head>
<style>
div { position: fixed; }
</style>
</head>
<body>
<div>Hello, world!</div>
</body>
</html>

Results:
Chrome 16.0.905.0 (WebKit 96921): Hello, world!
Safari 5.0.5 (WebKit 97102): Blank page
Firefox 6.0: Hello, world!
Opera 11.51: Hello, world!