Bug 69384 - page with only fixed objects doesn't print
Summary: page with only fixed objects doesn't print
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Printing (show other bugs)
Version: Safari 9
Hardware: Mac OS X 10.11
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 15:46 PDT by Tony Chang
Modified: 2016-02-19 00:23 PST (History)
4 users (show)

See Also:


Attachments
test case (159 bytes, text/html)
2011-10-04 15:47 PDT, Tony Chang
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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!