On Feb 7, 2006, at 3:21 AM, Eoghan wrote:

I was playing around with computedStyle and updateNodeAttributes when I
got bitten (again) by the asymmetry of syntax between e.g.
computedStyle(e, "font-size") updateNodeAttributes(e, {'style':
{'fontSize': newVal}}). Of course, this is to do with the inability of
JavaScript to parse e.style.font-size, so in the spirit of making js
suck less, I propose the following enhancement for
Mochikit.Dom.updateNodeAttributes:

This is worth doing. If you write some tests for the functionality then I'll take it.

-bob

Reply via email to