fix: correct splitting of nested lists with soft page breaks
This commit is contained in:
parent
5f1b0bd3d8
commit
253007416e
5 changed files with 74 additions and 3 deletions
37
testdocuments/model/spb_in_list.html
Normal file
37
testdocuments/model/spb_in_list.html
Normal file
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ru-RU" xml:lang="ru-RU" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title></title>
|
||||
<meta charset="UTF-8" />
|
||||
<style media="all" type="text/css">
|
||||
body {margin-left:auto;max-width:800px;font-size:1.0rem;font-family:'IPH Lib Serif';margin-right:auto;}
|
||||
a:link {text-decoration:none;font-family:'IPH Astra Serif',serif;}
|
||||
a:visited {text-decoration:none;font-family:'IPH Astra Serif',serif;}
|
||||
</style>
|
||||
</head>
|
||||
<body dir="ltr">
|
||||
<div class="pageNum" page="1">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<ol class="listlevel1Numbering123" style="list-style-type:decimal;clear:left;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;">
|
||||
<ol class="listlevel2Numbering123" style="list-style-type:decimal;clear:left;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;">
|
||||
<li>
|
||||
<p class="qwerty" style="margin-left:0;background-color:transparent;border:none;padding:0;text-indent:1.6535434rem;text-decoration:none;font-size:0.8333334rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;margin-right:0;text-align:justify;"><span lang="en-US" xml:lang="en-US">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Page 1</span></p>
|
||||
</li>
|
||||
</ol>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageBreak" style="height:3em;margin-top:1em;margin-bottom:1em;background-color:red;"> </div>
|
||||
<div class="pageNum" page="2">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<ol class="listlevel1Numbering123" start="2" style="list-style-type:decimal;clear:left;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;">
|
||||
<ol class="listlevel2Numbering123" start="2" style="list-style-type:decimal;clear:left;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;">
|
||||
<li>
|
||||
<p class="qwerty" lang="en-US" style="margin-left:0;background-color:transparent;border:none;padding:0;text-indent:1.6535434rem;text-decoration:none;font-size:0.8333334rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;margin-right:0;text-align:justify;" xml:lang="en-US">Page 2</p>
|
||||
</li>
|
||||
</ol>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue