`break-after: avoid` on two successive elements
break-after: avoid
don't work on two successive elements.
For example, if an h2
follow an h1
, break-after: avoid
works on h2
but not on h1
. See between pages 5 and 6 of the files:
HTML: issue-102.html
Result: issue-102-wrong.pdf
The result we should get: issue-102-correct.pdf