Add layout direction support to span-columns() and row()