Should CSS “orphan” operate at line or block level?
问题 I'm rendering HTML documents to PDF. Previously I was using Wkhtmltopdf, but it looks like Dompdf offers better support for page breaks, so I expect I will switch to that. I'd like to apply some orphan control to my document, so I need to have a solid understanding of what orphans actually does. From W3C (source): The orphans property specifies the minimum number of lines in a block container that must be left at the bottom of a page. The example that is consistently offered around the web is