[Webkit-unassigned] [Bug 26342] Absolutely positioned HTML element within foreignObject of absolutely positioned SVG crashes Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 16 10:14:38 PDT 2009


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


Eric Seidel <eric at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39636|review?                     |review-
               Flag|                            |




--- Comment #12 from Eric Seidel <eric at webkit.org>  2009-09-16 10:14:38 PDT ---
(From update of attachment 39636)
Yes, this is the wrong fix. :)

ForeignObjects are a RenderBlock, but they should know how to find their
containing SVGRenderRoot, which is also a RenderBlock.  For SVG this is
slightly tricky becuase SVG doesn't use the concept of "containingBlock" like
the rest of the rendering tree does.  SVG cares about "nearestViewportElement"
instead.   There is some missing logic in SVG here.  Whatever it is that thinks
it wants the foreignObject's containing block might not actually.  Or if it
does, it wants the containing SVGRenderRoot (which it should be able to
find...).  The "return 0" that you're returning should really be:
ASSERT_NOT_REACHED();
return 0;

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



More information about the webkit-unassigned mailing list