Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove workaround for Chromium legacy layout engine
This change removes the workaround code for the Chromium's problem of inconsistent layout between viewing (new LayoutNG) and printing (legacy layout engine). That workaround, that forces Chromium legacy layout, is no longer necessary when Chromium LayoutNG supports printing, that will be around Chrome 108 according to the Chromium issue comment https://bugs.chromium.org/p/chromium/issues/detail?id=1121942#c79. For now we can use LayoutNG for printing by specifying option --enable-blink-features=LayoutNGPrinting to Chromium. If Vivliostyle CLI sets that option to Chromium, the problem of inconsistent layout between viewing and printing is resolved. Related pull request: - vivliostyle/vivliostyle-cli#307 Chromium's new LayoutNG will solve the following issue: - #806 However, the problem of inconsistent layout between viewing and printing remains when printing not using the Vivliostyle CLI until Chromium LayoutNG officially supports printing.
- Loading branch information