[webkit-dev] How to interpret repaint test results?

Simon Fraser simon.fraser at apple.com
Wed Feb 8 23:55:25 PST 2012


On Feb 9, 2012, at 12:16 AM, Xianzhu (Drew) Wang 王显著 wrote:

> I'm confused with the expected results of some repaint tests, for example, fast/repaint/fixed-scroll-simple.html. The expected pixel result (platform/mac/fast/repaint/fixed-scroll-simple-expected.png) is all masked by dark gray. Does this mean that no part of the page is repainted? However, the test seems to expect that some part of the page is repainted so that the red box is fully covered by the green box and is not left on the page. What did I miss?

Repaint tests now make use of code in FrameView::repaintContentRectangle(), which records which rectangles were repainted, but only via calls to this method.

I'm guessing that scrolling does invalidate, but not via FrameView::repaintContentRectangle().

Simon




More information about the webkit-dev mailing list