I think "break-before: right" has a glitch in the context of multiple
HTML files collated into one PDF file:
"right" is supposed to ensure that, e.g., a chapter starts on a right-
hand page and you generate one or two page breaks for that
purpose. Two page breaks should result in one blank page, enough
to fudge a chapter which has an odd number of pages.
This works as advertised in a single HTML document. However, it
looks to me as if you are implicitly generating a page break when a
new HTML document starts. At this point you are on a new page.
The chapter title would have a "break-before: right" and if the
current new page is already an odd (right) page, you generate two(!)
blank pages rather than none.
HTML files collated into one PDF file:
"right" is supposed to ensure that, e.g., a chapter starts on a right-
hand page and you generate one or two page breaks for that
purpose. Two page breaks should result in one blank page, enough
to fudge a chapter which has an odd number of pages.
This works as advertised in a single HTML document. However, it
looks to me as if you are implicitly generating a page break when a
new HTML document starts. At this point you are on a new page.
The chapter title would have a "break-before: right" and if the
current new page is already an odd (right) page, you generate two(!)
blank pages rather than none.