Highlight the background color of any cell with duplicate content in any row or column in a table?

The problem is, that the CSS has no idea about the content of the cells.

The OT is slightly related to: Change the background color of one single cell easily. If it would be easy to manually style single cells this could be solved in the same way.