yep
Created attachment 230905 [details] patch
<rdar://problem/16462414>
Comment on attachment 230905 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=230905&action=review > LayoutTests/fast/repaint/animation-after-layer-scroll.html:18 > + hasRepaintRects = window.internals.hasRepaintRectsIncludingSublayers(); Couldn't you have just got the repaint rects in JS and checked their emptiness?
(In reply to comment #3) > Couldn't you have just got the repaint rects in JS and checked their emptiness? That's what I tried first. There is currently no API for getting repaint rects except for sublayers and implementing one sensibly would have been more complicated than this.
I mean "no API for getting repaint rects for sublayers"
layerTreeAsText(LAYER_TREE_INCLUDES_REPAINT_RECTS)
http://trac.webkit.org/changeset/168424 > layerTreeAsText(LAYER_TREE_INCLUDES_REPAINT_RECTS) Ah right. Switched the test case to use that.