I'm wondering if anyone has done any efficiency testing on using inline
styles vs class in cell renderers. Right now I'm using a template with two
methods:
@Template("<div style='text-align:right'>{0}</div>")
public SafeHtml valid(String value);
@Template("<div style='text-align:right' class='{1}'>{0}</div>")
public SafeHtml invalid(String value, String invalidStyle);
I used an inline style for the text-alignment, but it occurred to me that I
could use a class for that instead if it would be rendered more efficiently
by the browser. Has anyone tried comparing the two approaches?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.