Bug 39732 - A margin-{top,bottom} should be collapsed when printing.
Summary: A margin-{top,bottom} should be collapsed when printing.
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Printing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 39735
  Show dependency treegraph
 
Reported: 2010-05-26 07:18 PDT by Hayato Ito
Modified: 2017-07-06 12:09 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hayato Ito 2010-05-26 07:18:14 PDT
When printing the following html, more than 10 pages are printed, which should be avoided.

<html>
<body>
  hello
  <div style="margin-top:10000px">
    world
  </div>
</body>
</html>

Both Opera 10.5.3 (Mac OSX 10.5) and Firefox 3.6.2 (Mac OSX 10.5) print only 2 pages.