Incomplete repaint of flexbox with overflow See http://bugs.webkit.org/show_bug.cgi?id=11277 for more discussion. See attached test case
Created attachment 11341 [details] test case
This seems to be a regression from Safari 2.
Autospade says: Works: r13968 Fails: r13972
Created attachment 31195 [details] Patch v1 WebCore/ChangeLog | 19 +++++++++++++++++++ WebCore/rendering/RenderBlock.cpp | 10 ++++++++-- WebCore/rendering/bidi.cpp | 2 +- 3 files changed, 28 insertions(+), 3 deletions(-)
This patch depends on the patch I uploaded in https://bugs.webkit.org/show_bug.cgi?id=15135 . So, I don't mark this patch as '?' for now. Once the previous patch is granted, I'll update this patch and ask review. Regarding the layout test for this patch, I couldn't see how to test this with the layout test framework. The test case Adele posted seems to work correctly with DumpRenderTree (maybe it repaints all area before it generates png file?). I'll upload the layout test I wrote. If someone tell me how to make the layout test fail without this patch, I'll fix and add the layout test for my patch.
Created attachment 31196 [details] test case modified to be automated
The test case works fine now. Please re-open if I'm wrong in thinking that.