Why is nth-child working differently for multi-page versus single page

I have a dynamic table in my form, and I’m trying to stripe the rows. In my default.css I am using

tbody tr:nth-child(even) { background-color: #F0F0F0; }

It doesn’t matter the number of lines, what does seem to matter is if it is breaking to a new page. If it is multi-page it will stripe lines 1,3,5, etc even though the .css says even.

If it is a single page, it will stripe the even lines as expected.

Any ideas what it’s doing? Does it count from the bottom?

Thanks, Rick

Hi Rick,

I have test your CSS with a multiple pages document, and it works fine for me,

What is not working for you?

Can you show us some screen shoots of how are you creating your tables and CSS?

Can you add more details to your issue?

Best regards,

Juan

I have confirmed that this is an issue that I can reproduce on 1.3.2.

It has already been reported to R&D and will be resolved in a future version.