This was a tricky bug to reduce to the minimal case, but here it goes: - Add `grid-auto-flow: column` - Place it inside a `@layer` - Add a visitor visiting `layer-block` - The output is now `grid-auto-flow: row` [Example playground](https://lightningcss.dev/playground/#%7B%22minify%22%3Afalse%2C%22customMedia%22%3Atrue%2C%22cssModules%22%3Afalse%2C%22analyzeDependencies%22%3Afalse%2C%22targets%22%3A%7B%22chrome%22%3A6225920%7D%2C%22include%22%3A0%2C%22exclude%22%3A0%2C%22source%22%3A%22%40layer%20%7B%5Cn%20%20.reel%20%7B%5Cn%20%20%20%20grid-auto-flow%3A%20column%3B%5Cn%20%20%7D%5Cn%7D%22%2C%22visitorEnabled%22%3Atrue%2C%22visitor%22%3A%22%7B%5Cn%20%20Rule%3A%20%7B%5Cn%20%20%20%20'layer-block'%3A%20(rule)%20%3D%3E%20%7B%5Cn%20%20%20%20%20%20return%20rule%3B%5Cn%20%20%20%20%7D%5Cn%20%20%7D%5Cn%7D%22%2C%22unusedSymbols%22%3A%5B%5D%2C%22version%22%3A%22local%22%7D)