[Webkit-unassigned] [Bug 23113] Layer content inside HTML in SVG foreignObject renders in the wrong place

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 15 14:47:49 PST 2012


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





--- Comment #18 from Nikolas Zimmermann <zimmermann at kde.org>  2012-02-15 14:47:48 PST ---
(In reply to comment #17)
> There is also a stacking problem: SVG specifies that elements are rendered in implicit order (elements should be "covering" their same-fragment predecessors). To preserve these semantics, we'll probably have to group FO sibling elements into additional synthetic layers to be composited in implicit order - pre-FO layer, FO layer, post-FO layer. Otherwise regular elements following a FO will be covered by it.
Exactly! I had fO + layers working until this point :-) This is the really problematic thing. Any SVG renderer would need to check if it follows a <fO/> - if yes, it has to return true for requiresLayer - probably requires some plumbing in RenderSVGBlock, RenderSVGInline, RenderSVGModelObject (+ another base class I probably forgot).

Once that works, we need testcases which moves <svg><g id="g1"/><fO/><g id="g2"/>.... eg. g1 behind g2, etc, to make sure we handle updates of the "pre-Fo layer, FO-layer, post-fO-layer" states properly. I could think of more tricky test cases as well...

Are you planning to work on that?

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