[Webkit-unassigned] [Bug 49790] Color changes to option elements in a select multiple aren't drawn immediately

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 18 01:30:34 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=49790


Rob Buis <rwlbuis at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #12 from Rob Buis <rwlbuis at gmail.com>  2011-01-18 01:30:33 PST ---
Hi,

(In reply to comment #10)
> I tested the new tests introduced in r76002, but unfortunately 
> they fail in Qt-DRT, but pass with QtTestBrowser. 
> 
> -<body onload="setTimeout(test, 0)">
> +<body onload="test()">
> 
> If I change setTimeout(test, 0) to test() all tests pass. Why do we 
> need this timeout construction? We usually call the test() directly.

The reduced example is actually one where pressing the link fails to show new
rendering of the option. So I tried to emulate this using the testcase, maybe just using the onload to calltest directly is too early and the option rendering
is part of the overall document rendering, it should really be done afterwards. So I had hoped the setTimeout would solve that, but maybe it doesn't work in all cases. I see two possible fixes, increase the value in setTimeout, or introduce a link that we can click on from javascript. I won't have time for this until late tonight, so if you want to experiment with that, I wouldn't mind :)
Cheers,

Rob.

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



More information about the webkit-unassigned mailing list