I'm trying to get bigger list markers for square, disc and circle. I'm also trying to find a solution which works in browsers. Since they don't support li:marker yet, I followed the usual approach with li:before and float:left. In browsers this works fine, but in PrinceXML there are cases where the list item is split between page breaks, that is, the marker is the last element at the bottom of a page and the text content of the list item is on the next page.
No matter if I use block, table-cell, inherit, or list-item (which I think is correct) for li:before, the behaviour is always the same. The only solution I've found is to add page-break-after:avoid to li:before. Is this normal or the expected behaviour in a render environment with pages?
If I leave out display:list-item in li:before and if there are block elements like <p> inside the list element it looks like PrinceXML issues a "line break" after the list marker. This isn't seen in browsers, so it seems that display:list-item is mandatory for PrinceXML in such cases?
No matter if I use block, table-cell, inherit, or list-item (which I think is correct) for li:before, the behaviour is always the same. The only solution I've found is to add page-break-after:avoid to li:before. Is this normal or the expected behaviour in a render environment with pages?
If I leave out display:list-item in li:before and if there are block elements like <p> inside the list element it looks like PrinceXML issues a "line break" after the list marker. This isn't seen in browsers, so it seems that display:list-item is mandatory for PrinceXML in such cases?