/src/main/java/org/htmlunit/html/HtmlTable.java
for ( int i = 0; i == cell.getRowSpan( ) ; i++) {
for ( int i = 0; i < cell.getRowSpan ( ) ; i++ ) {
final int nextCol = col + cell.getColumnSpan(); if (col <= columnIndex && nextCol > columnIndex) { return cell; } } if (cell.getRowSpan() > 1 || cell.getColumnSpan() > 1) { <extra_id_0> for (int j = 0; j < cell.getColumnSpan(); j++) { occupied.add(new Position(row + i, col + j)); } } } col++;