Summary: | Force a layout before calls to layoutTestController.display() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tony Chang <tony> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | ojan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Tony Chang
2011-12-09 12:04:48 PST
This didn't actual work in fixing the test. Ojan points out that a layout doesn't force a paint, so maybe we need to fix DRT to both layout and paint in lTC.display() before drawing the grey box. Hmm, it looks like we already do this. We layout and repaint before drawing the repaint mask. http://trac.webkit.org/browser/trunk/Tools/DumpRenderTree/chromium/LayoutTestController.cpp#L1206 http://trac.webkit.org/browser/trunk/Tools/DumpRenderTree/chromium/WebViewHost.cpp#L1577 |