Created attachment 210807 [details] Repro An SVG element with position: fixed will trigger an assertion (mode & UseTransforms) in RenderSVGRoot::mapLocalToContainer(const WebCore::RenderLayerModelObject *, WebCore::TransformState &, MapCoordinatesFlags, bool *) const when running a debug build. A simple repro is attached. <rdar://problem/14703176>
IIRC we (Simon and I) decided that the assertion didn’t actually make any sense, but I don’t remember all the logic at the moment.
(In reply to comment #1) > IIRC we (Simon and I) decided that the assertion didn’t actually make any sense, but I don’t remember all the logic at the moment. Hm, I agree. It makes sense for inner SVG elements but not for outer SVG elements (SVGRoot is always the outer SVG element). Looks like the assertion is wrong here. Just a question for understanding. The comment assumes that the mode (isFixed) comes from the content. I would assume that the mode is from the current renderer. Which is true? If it is the latter, we can remove the assertion.
*** Bug 117925 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 31278 ***