sstephenson/prototype — pull request #73 by victor-homyakov (2012-10-03 08:12:58+00:00)
Title: Streamlined and unified opacity methods

Currently methods for getting/setting opacity have different and inefficient workflow:

- in IE w/o opacity support `getStyle_IE` invokes `getOpacity_IE` (but only after useless operations like `normalizeStyleName_IE()`)
- in other browsers `getOpacity` invokes `getStyle` (doing useless operations like `normalizeStyleName('opacity')`)

Also `setOpacity_IE` and `getOpacity_IE` check `STANDARD_CSS_OPACITY_SUPPORTED` each time they are invoked (not good for animation performance).