• simon.fraser@apple.com's avatar
    2008-11-12 Simon Fraser <simon.fraser@apple.com> · d12c84b4
    simon.fraser@apple.com authored
            Reviewed by Dan Bernstein
            Rename absoluteOutlineBox() to absoluteOutlineBounds(), to indicate that
            it may be the bounding outline box of a transformed element, and fix it
            to respect transforms by mapping the outline box to an absolute quad and
            taking the enclosing rect.
            RenderBox::localToAbsoluteQuad() can no longer assert that there is no
            LayoutState, but LayoutState cannot be used during quad mapping (it knows
            nothing about transforms).
            Finally, fix a bug in RenderBox::localToAbsoluteQuad() which was getting
            borderTopExtra() from the object, rather than its container (as localToAbsolute()
            Test: fast/repaint/transform-absolute-child.html
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
RenderBlock.cpp 187 KB