[Webkit-unassigned] [Bug 58417] SVG object covers CSS background in HTML foreignObject

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 31 10:56:02 PDT 2011


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





--- Comment #8 from Florin Malita <fmalita at google.com>  2011-10-31 10:56:01 PST ---
(From update of attachment 113057)
View in context: https://bugs.webkit.org/attachment.cgi?id=113057&action=review

>> Source/WebCore/rendering/svg/RenderSVGForeignObject.cpp:66

> 
> Can't you share this code between InlineBox and RenderSVGFO in a common base?
> Replicating this is not a good idea.

Sounds like a good idea, but there's a couple of things that make this tricky:

* InlineBox & RenderSVGFO don't share a common base (InlineBox is a top level class)
* while InlineBox::paint() just calls paint() on its RenderObject reference, RenderSVGFO::paint() delegates to a specific super method (RenderBlock::paint())

I'm not familiar enough with the code base to see a clean way around these - any suggestions?

-- 
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