[css-grid] Broaden what needs to be swapped in the auto-placement algo.

--HG--
extra : rebase_source : 065b8165e712cf01d4dd60ae87f931ad19a1352d