Fixes #7297: add support for .success, .error, and .warning on td and th elements in tables