[Webkit-unassigned] [Bug 14015] webkit invalidates *way* too much when animating this SVG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 8 00:34:38 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14015





------- Comment #6 from mitz at webkit.org  2007-10-08 00:34 PDT -------
An object's absoluteClippedOverflowRect should be the smallest rectangle, in
absolute coordinates, containing all pixels the object paints into in its
paint() method. For your typical RenderBlock it would be its overflow rect
(which encompasses overhanging floats' overflow rects, because paint() paints
the floats), intersected with the clip rect imposed by its ancestors, if any.

In this example, the middle (olive) div's clipped overflow rect is a 100x75
rect:

<div style="width: 100px; height: 100px; overflow: hidden;">
        <div style="width: 150px; height: 50px; background: olive;">
                <div style="width: 50px; height: 75px; background: silver;">
                </div>
        </div>
</div>

LayoutState is an optional optimization that speeds up the computation of
absolute clipped rects during layout. It is arguably easier to read the
non-optimized branches of the code to see how things work.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list