This is mostly search and replace ala GtkButton => button GtkWindow => window .button => button or removing style properties that aren't used anymore like -GtkButton-default-border: 0
The test should include reset-to-defaults.css but apparently it is older than that file. So it broke when buttons started using shadows.