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


_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to