Thanks! If anyone is looking for some small css testcases that use nesting, see
https://github.com/Sigil-Ebook/cssparser
And grab nesttest*.css and you can drag and drop them on Sigil.
To flatten the css back to normal simply use the reformat css multiline or single line routines.