#3309 new
Emil Grau

setOpacity compatibility on IE7

Reported by Emil Grau | May 18th, 2013 @ 05:04 PM


When I use "setOpacity" on a "virtual" DOM element (element not yet inserted), with IE7, it doesn't work since 1.7.1.

Example : just test this JS line :
new Element('div').setOpacity(0)

Browser : IE7

works until 1.7.0, breaks on 1.7.1


E. Grau

Comments and changes to this ticket

  • Jason Westbrook

    Jason Westbrook May 18th, 2013 @ 07:29 PM

    Thanks for the report - we'll try and get it fixed

    In the meantime you can workaround by adding an update() method call after the new Element()
    for example

    new Element('div').update().setOpacity(0);

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

People watching this ticket