I got an empty PDF document but in browser is normal #3273

Open
wfso opened this Issue Jan 7, 2017 · 1 comment

Projects

None yet

1 participant

@wfso
wfso commented Jan 7, 2017

html document content is following

<html lang="zh-hans">
<head>
<meta charset="UTF-8">
<title>index</title>
  <style>
    .main {
      position:absolute;
      top:0;
      left:0;
      overflow-y:auto;
      bottom:0;
      right:0;
    }
  </style>
</head>
<body>
<div class="main">
  --allow
  <br />
  --allow
  <br />
  --allow
  <br />
  --allow
  <br />
  --allow
  <br />
  --allow
  <br />
  --allow
  <br />
  --allow
</div>
</body>
</html>

If you understand Chinese, you can to http://www.jianshu.com/p/57c897cfaa27 check my return after doing the experiment results.

The experimental conclusion is that this kind of circumstance is associated with the following properties

      position:absolute;
      top:0;
      overflow-y:auto;
@wfso
wfso commented Jan 7, 2017

Version 0.12.3.2 and 0.12.4 has this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment