The [=implicit grid=] is formed in the same way as for a regular grid container. However, it's only used in the [=grid axis=]. The flow axis specified by ''grid-auto-flow'' is ignored — items are always placed by filling the [=grid axis=] (though note that the ''grid-auto-flow'' property's ''grid-auto-flow/dense'' keyword does have an effect in determining which items end up at line 1 in the [=masonry axis=], in [[#grid-item-placement]] step 1). ''direction:rtl'' reverses the grid if the inline-axis is the [=grid axis=] (as usual for a regular grid container) and it makes items flow from right to left if the inline-axis is the [=masonry axis=].
0 commit comments