I realise this is a non-trivial task, but is there a way to regression test the styling and rendered layout of a web application?
I've found it straightforward to unit test and regression test functionality, both server-side and client-side.
However, a frustrating issue I've run into are CSS changes made to fix one layout issue that break the layout and styling on a different page. The only way I know how to detect these is to manually view every page in an application, and compare it with my own expectations, but obviously this can be burdensome and expensive when an application can have dozens of pages. Has there been any research using image processing or other techniques to detect these kinds of problems automatically?