I think the fix is not complete yet.
Rendering styleClass and style attributes to the component is missing.
According to sun jsf 1.1 tld doc (http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/tlddocs/index.html),
for example we have
errorClass - CSS style class to apply to any message with a severity class of "ERROR"
fatalClass - CSS style class to apply to any message with a severity class of "FATAL" and so on.
A single message is rendered to
this is perfect now.
But tld contains also
styleClass - Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
So I would assume
<h:messages styleClass="styleClass" errorClass="errorClass"/>
would be rendered to