Calling CPPUNIT_ASSERT inside assertCss hides the real line number
where assertCss is called. This patch replace CPPUNIT_ASSERT inside
assesrtCss with std::runtime_error(), rename assertCss to checkCss,
and replace assertCss(...) to CPPUNIT_ASSERT_NO_THROW(checkCss(...))
so developers can catch the failed line number easily.
Update patch to define CPPUNIT_ASSERT_CSS macro instead of throw exception.
The final patch is different, but the problem is fixed.