Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #7648 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

[PATCH] optimized Element.getStyle and Element.getOpacity

Reported by: Tobie Assigned to: madrobby
Priority: normal Milestone: 1.x
Component: Prototype Version: edge
Severity: normal Keywords:
Cc:

Description

Speed optimization for Element.getStyle

Adds Element.getOpacity for API consistency.

Attachments

getStyle.diff (8.2 kB) - added by Tobie on 02/26/07 08:21:25.

Change History

02/26/07 08:21:25 changed by Tobie

  • attachment getStyle.diff added.

02/27/07 11:37:48 changed by madrobby

  • status changed from new to closed.
  • resolution set to fixed.

Closed in [6255].

Note that i've changed to a completely IE-specifc getStyle approach, as else it gets confused (it seems) if an inline opacity CSS attribute is set. This makes sure all unit tests pass properly. The changeset also includes some cleanups here and there.