I've found an issue related to offset calculation in tables that utilize complex rowspans. The offset-adjusted index was consistently computed to be smaller by 1. This discrepancy led to a mismatch between cells and their corresponding columns. I added a test case that demonstrates the previously incorrect behavior.
Besides, I slightly changed the type definitions related to offset calculation. I think its is better for type safety and developer guidance.
Hi!
I've found an issue related to offset calculation in tables that utilize complex rowspans. The offset-adjusted index was consistently computed to be smaller by 1. This discrepancy led to a mismatch between cells and their corresponding columns. I added a test case that demonstrates the previously incorrect behavior.
Besides, I slightly changed the type definitions related to offset calculation. I think its is better for type safety and developer guidance.