Computers might not care if text is white on white, but humans do. So just because the text is in the DOM doesn't necessarily mean it'll get indexed. It's definitely in Google's interest to fight against techniques like these. They already mitigate against things like keyword spam, etc.