DOM Depth First Traversal

The following is a simplified table that is used for our depth first traversal.

row 1, col 1 row 1, col 2 row 1, col 3
row 2, col 1 row 2, col 2 row 2, col 3
row 3, col 1 row 3, col 2 row 3, col 3