Skip to content

Commit

Permalink
fix: remove workaround for old Chrome printing problem
Browse files Browse the repository at this point in the history
Remove the workaround code (#514 and #394) for Chrome printing problem which was already fixed and no longer necessary.

After this change the following problem that was a side effect of the old workaround code will be resolved:

- fix #660
  • Loading branch information
MurakamiShinyu committed Jan 4, 2023
1 parent 52d7522 commit b7e7084
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/core/src/vivliostyle/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,6 @@ export const VivliostyleViewportCss = `
break-after: page;
}
[data-vivliostyle-bleed-box] > div > div::before {
display: block;
content: "";
padding-top: 0.015625px;
margin-bottom: -0.015625px;
}
/* Gecko-only hack, see https://bugzilla.mozilla.org/show_bug.cgi?id=267029#c17 */
@-moz-document url-prefix() {
[data-vivliostyle-page-container]:nth-last-child(n + 2) {
Expand Down

0 comments on commit b7e7084

Please sign in to comment.