This is the only breakage that people ever reported with CSS so I'm happy adding one edge case like this. Fixes #1967