Status: New
Owner: ----
Labels: Type-Defect Priority-Medium YUI

New issue 1161 by lucas.e.smith: Possible to support el.style.cssText = ...?
http://code.google.com/p/google-caja/issues/detail?id=1161

Updating the cssText property of a style collection is useful to limit
browser reflows.  It's also convenient to reduce code size, though this is
primarily a side effect.

el.style.padding = '0';
el.style.margin = '5px 10px';

can be rewritten as
el.style.cssText += ';padding:0;margin:5px 10px;';

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to