[Webkit-unassigned] [Bug 21892] nested SVGs inside html display: table element fail to hit-test correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 27 13:51:39 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21892





------- Comment #8 from eric at webkit.org  2008-10-27 13:51 PDT -------
Ok, the bug is that this code in RenderSVGContainer::nodeAtPoint

    if (!viewport().isEmpty()
        && style()->overflowX() == OHIDDEN
        && style()->overflowY() == OHIDDEN) {
        // Check if we need to do anything at all.
        IntRect overflowBox = overflowRect(false);
        overflowBox.move(_tx, _ty);
        AffineTransform ctm = RenderObject::absoluteTransform();
        ctm.translate(viewport().x(), viewport().y());
        double localX, localY;
        ctm.inverse().map(_x - _tx, _y - _ty, &localX, &localY);
        if (!overflowBox.contains((int)localX, (int)localY))
            return false;
    }

Is getting back an overflowBox with a height of -1.  I'm not sure why, but
something is wrong with the overflowBox calculation here it seems.


-- 
Configure bugmail: https://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