[Webkit-unassigned] [Bug 116994] Setting overflow:hidden on position:absolute does not repaint hidden content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 9 22:06:42 PDT 2013


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





--- Comment #16 from Simon Fraser (smfr) <simon.fraser at apple.com>  2013-06-09 22:05:17 PST ---
(In reply to comment #15)
> > 
> > > LayoutTests/fast/repaint/change-overflow-and-display-of-relative.html:32
> > > +        }, 50);
> > 
> > Can this be < 50ms?
> 
> No, this can't.
> I tried 0ms and used "overflow.offsetHeight;" to force to redraw.
> However, if I open this test from Finder, the problem is sometimes not reproduced.
> I think 1st drawing is combined with 2nd drawing.

If it's this timing sensitive on your machine, it's likely it will fail on a bot, or EWS. You should try to find a way to make the test reliable with a setTimeout. Does testRunner.display() help?

Thinking about the test some more, I think it should not be a ref test, and instead be a repaint test. See tests that call repaintRectsAsText.

-- 
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