-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Update Playwright to 1.49.0 (Chromium 131.0.6778.33) #545
Conversation
|
Test casePlaywright v1.49.0 に更新しただけだと不具合が発生するテストケース: Playwright v1.49.0 に更新する前のVivliostyle CLIで出力したPDFでは、問題が発生しない。
Playwright v1.49.0 に更新した後のVivliostyle CLIで出力したPDFは、Retinaディスプレイ上で実行した場合だけPDFは1ページだけになり、2ページ目に送られるべき内容が1ページ目の下にはみ出して表示される。
chromium-headless-shell を使うように修正した後のVivliostyle CLIで出力したPDFではこの問題が解消されている。
|
この実装んついて試したところ、previewとbuildで |
PDF生成には
とはいっても、previewとbuildで2回もダウンロードが発生するのはたしかにあまりよくないですね。 #357 の問題(「"Retina" ディスプレイ(devicePixelRatio = 2)であっても、window.devicePixelRatio の値は 1 を返す。ところが、レイアウト処理において最小のborder幅はそれと矛盾して 0.5px になる。」)を vivliostyle.js の側で解決するには、 |
@MurakamiShinyu HiDPR環境でHeadlessで |
@spring-raining ありがとうございます! #547 で問題が起きないこと確認しました。 44737f3 のコミットを取り消すのに Revert のコミットをするのではなく、 |
18e45b9
to
2ad960c
Compare
feat: Update Playwright to 1.49.0 (Chromium 131.0.6778.33) (eadf6da)
fix: Use chromium-headless-shell rather than chromium in new headless mode (44737f3)Fix issues of Playwright 1.49.0 #547