Revert "handle properly page breaks even if a page contains only a frame (fdo#55381)"

I didn't mean to push without review.

This reverts commit a859ff2db69457cc98c257d377f68c8786c50fa2.