-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Pre-h1 page breaks are not suppressed in Windows 11 / Chrome 116 #6
Comments
Maybe I'm not understanding. I see no page break for "Installing Bloom". This is properly being prevented by
I do see a page break for "System requirements". If we wanted to not break before the first
but I don't think we can apply that rule universally. What if there is a significant amount of content between the initial page heading and the next |
When printing a page,
h1
elements have a page break inserted viacss/custom.css
:...but the first
h1
element should not have the break inserted:Chrome 116 (at least on Windows 11) does not observe the
h1:first-child
rule, and merrily inserts a page break before the firsth1
element. https://docs.bloomlibrary.org/installing-bloom/ provides a good example of this behavior.On a possibly related note, https://developer.mozilla.org/en-US/docs/Web/CSS/page-break-before says that
page-break-before
is deprecated, and that break-before should be used instead.The text was updated successfully, but these errors were encountered: