Op Tue, 24 Feb 2009 01:39:48 +0100 schreef nutso fasst
I have a page with multiple elements that i want to fade via script. I
this with 4 images on another page and Opera is fine with that. But when
elements to fade are DIV's with multiple children, Opera slows to a
while IE and FF do not.
There are 5 DIVs, each with an Anchor (display:block) containing a GIF
plus a P element with ~ 100 characters. A simple function decrements
of each DIV by .125 for 8 iterations of setTimeout with .06 second
The fade takes ~ .42 second on IE and FF (as expected). On Opera it
When I change the function to fade a single encompassing DIV, FF slows
.9 seconds, while Opera takes ~ 12.3 seconds. Clearly, Opera is
unnecessarily slow with display of of semi-transparent elements. Besides
that, grey text color changed to black when opacity change began.
I tried one more option, giving the A and P elements the same classname,
then applying the opacity to the elements by looping through the
getElementsByClassName array. That brought fade time in Opera down to
1.2 seconds, but that's still 3X slower than spec'd.
OS is Win2K.
Is this a known issue being addressed?
Specific, clear testcases where Opera behaves much slower than other
browsers are welcome as bug reports, developers like them :).
Note that operating system might matter a lot. Opera on Linux is known to
be slower with opacity rendering than Opera on Windows for example, I'm
not sure if Opera on Win2k is also slower than Opera on WinXP or Vista.
Rijk van Geijtenbeek
Opera Software ASA, Documentation & QA
"The most common way to get usability wrong is to listen to what users
say rather than actually watching what they do." - J.Nielsen