Yesterday, I started tests after changing the original javax.faces.jar 2.1.6 that comes with Glassfish to the new 2.1.29 downloaded.
Then, the h:outputText labels from my webapp becames bigger.
All other components become exactly the same size.
Below sample attachments from the "old 2.1.6 page" and "new 2.1.29 page" in Firefox 33 and Chrome 39. Same behaviour in IE too.
Using Chrome, the difference in outputText is more visible.
The only change in my project was javax.faces.jar file.
Behaviour of formatting outputTexts:
- JSF 2.1.6: if I don't define a CSS style, it uses some internal default font size and not the font size from my "CSS body" general config
- JSF 2.1.29: if I don't define a CSS style, it uses the browser default font size and not the font size from my "CSS body" general config
Then, I was happy with internal font size from 2.1.6 that allowed the same layout at all browsers.
Now, with 2.1.29 I will have to configure a CSS style class at all outputTexts to ensure the same layout at all browsers.
Again... I made two tests:
1) creating a xhtml without Richfaces
2) creating a xhtml with Richfaces but without any Richfaces component
3) creating a xhtml with Richfaces like page above that uses many components with their CSS layouts
I created the outputText without style class, to use the default style defined.
- 2.1.6: same behaviour in 1), 2), 3)
===> 1) uses my "CSS body" font config
===> 2) uses my "CSS body" font config
===> 3) uses browser default font config => this case I have to force a CSS style for all outputTexts, I think there is some CSS layout from Richfaces components that changes the default config and causes confusion for all the layout