brentonashworth/one — Issue #56: Fix IOpacity protocol implementation for Element
Author: brentonashworth
Created: 2012-01-11 21:17:49+00:00
State: open

## Background

The current implementation uses `goog.style.getOpacity`. It was previously implemented with `goog.style.getComputedStyle`. `getOpacity` will only get the opacity if it has been previously set. `getComputedStyle` does not work on IE. We need to implement something that will always return the opacity on any browser.

This breaks the `fade` animation when a `:start` value is not provided.

## Acceptance Criteria

* The `opacity` function behaves the same on all supported browsers, returning the current opacity.