[Webkit-unassigned] [Bug 23528] CSS transitions on opacity fail when used with visibility in certain circumstances

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 26 12:15:41 PST 2009


simon.fraser at apple.com changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME

------- Comment #4 from simon.fraser at apple.com  2009-02-26 12:15 PDT -------
Style changes from JS are batched, so this:
        theOne.style.visibility = "visible";
        theOne.style.opacity = 0;
        theOne.style.WebkitTransition = "all 1s ease-in-out";
        theOne.style.opacity = 1;

is really the same as:

        theOne.style.visibility = "visible";
        theOne.style.WebkitTransition = "all 1s ease-in-out";
        theOne.style.opacity = 1;

and the ordering doesn't make a difference. As you found, you have to use
setTimeout() to avoid this batching.

So all this behavior is as expected.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list