I don't mean about:config, I mean editing the CSS directly.
Yes an update could break your CSS fix, but if you follow the beta releases then this isn't a problem. You usually have at least a few weeks to update your patches before the release goes out.