Jun notes: css3 3D effects, JSF2 PreRender events, self closing tag in html

1)  css3 3D effects are hardware accelerated

To benefit this GPU acceleration, could do following to be benefited but this approach is not guaranteed:

-webkit-transform: translateZ(0);

On the other hand, if hardware acceleration is disabled, the css3 effects may not work as expected. Eg: http://stackoverflow.com/questions/10746712/css3-translatez-doesnt-work-for-chrome

To verify whether it’s enabled, in chrome url, type: “about:gpu”, “about:flags”.

2) Some useful JSF2 events: PreRenderComponentEvent PreRenderViewEvent


3) Self closing tag is not valid in HTML5 (but valid in xhtml):

eg: <div /> means <div> in HTML5 but in xhtml, it means <div></div>