`break-after: avoid` failed if there is exactly one whitespace character between it and next element
HTML File: temp1.html
The file is taken from pagedjs/specs/breaks/break-after/break-after-avoid/break-after-avoid.html
with the following modifications:
- Remove all
<section>
tags - Remove indentation of
<p>
tag after the<h1>Section 2: section element</h1>
element, so that there is exactly one whitespace character (\n
in this case) between them.
Error message in the browser console:
What have I tried?
- Remove all whitespace characters between the two tags. Rendered successfully.
- Put two whitespace characters between the two tags. Rendered successfully.
- See whether
\n
,\t
, and
What is the environment?
- Browser: Chromium 75.0.3770.80 (Official Build) Arch Linux (64-bit)
- Paged.js: 0.1.34
By the way, this tool is impressive. It helps me a lot. Thank you!