Source/core/rendering/RenderGrid.cpp
// |direction| is the direction that is fixed to |fixedTrackIndex| so e.g
// GridIterator(m_grid, ForColumns, 1) will walk over the rows of the 2nd column.
|direction| is the direction that is fixed to |fixedTrackIndex| so e.g
GridIterator(m_grid, ForColumns, 1) will walk over the rows of the 2nd column.
|direction| is the direction that is fixed to |fixedTrackIndex| so e . g GridIterator ( m_grid ForColumns 1 ) will walk over the rows of the 2nd column .
GridIterator(const GridRepresentation& grid, GridTrackSizingDirection direction, size_t fixedTrackIndex)
        : m_grid(grid)
        , m_direction(direction)
        , m_rowIndex((direction == ForColumns) ? 0 : fixedTrackIndex)
        , m_columnIndex((direction == ForColumns) ? fixedTrackIndex : 0)
        , m_childIndex(0)
    {
        ASSERT(m_rowIndex < m_grid.size());
        ASSERT(m_columnIndex < m_grid[0].size());
    }
GridIterator ( const GridRepresentation & grid , GridTrackSizingDirection direction , size_t fixedTrackIndex ) : m_grid ( grid ) , m_direction ( direction ) , m_rowIndex ( ( direction == ForColumns ) ? 0 : fixedTrackIndex ) , m_columnIndex ( ( direction == ForColumns ) ? fixedTrackIndex : 0 ) , m_childIndex ( 0 ) { ASSERT ( m_rowIndex < m_grid . size ( ) ) ; ASSERT ( m_columnIndex < m_grid [ 0 ] . size ( ) ) ; }
|direction| is the direction that is fixed to |fixedTrackIndex| so e.g
GridIterator(m_grid, ForColumns, 1) will walk over the rows of the 2nd column.
|direction| is the direction that is fixed to |fixedTrackIndex| so e . g GridIterator ( m_grid ForColumns 1 ) will walk over the rows of the 2nd column .