mootools/mootools-core — pull request #2414 by ibolmo (2012-08-22 05:16:58+00:00)
Title: Enhancement refactor element.style

Don't merge. It's no where near done. Just wanted to get some feedback.

A couple of things.

1. I unrolled the `Element.ShortStyles` which significantly increased `Element.Styles`. I still think there's room to play with this. Keeping in mind, however, that we want to keep it simple. Let compilers and gzip do the hard work.

2. Getter and setters are separated, but there may be collisions and a lot of repetition (`element.getComputedStyle`).

3. There's also some normalization in `setStyle` and `getStyle` ... how are we going to handle this? Per getter/setter or against all results.