RESOLVED FIXED Bug 126516
SVG transforms do not apply to <mroot> elements
https://bugs.webkit.org/show_bug.cgi?id=126516
Summary SVG transforms do not apply to <mroot> elements
Frédéric Wang (:fredw)
Reported 2014-01-06 02:47:57 PST
Created attachment 220427 [details] testcase Here is an attachment taken from my latest blog post. The \root{3}{V_cube} is not positioned correctly. For some reason, mathml.css has the following rule (not sure if it is really necessary...): mroot { position: relative; } so I suspect this is just an instance of bug 93358.
Attachments
testcase (1.23 KB, image/svg+xml)
2014-01-06 02:47 PST, Frédéric Wang (:fredw)
no flags
Dirk Schulze
Comment 1 2014-01-26 04:58:00 PST
I am not sure if I understand that correctly. mroot is not an SVG element. Therefore, SVG transforms can not be applied. Do you mean CSS transforms? And if you do, does that happen with embedding in HTML as well? An even simpler test case might be helpful.
Frédéric Wang (:fredw)
Comment 2 2014-01-26 05:03:36 PST
(In reply to comment #1) > I am not sure if I understand that correctly. mroot is not an SVG element. Therefore, SVG transforms can not be applied. Do you mean CSS transforms? And if you do, does that happen with embedding in HTML as well? > > An even simpler test case might be helpful. MathML can be embedded in SVG via a foreignObject and so any SVG transform on the foreignObject applies to the MathML too. As I said in comment 0, I believe it is just bug 93358. You can find simpler testcases on that bug.
Frédéric Wang (:fredw)
Comment 3 2014-06-17 23:54:42 PDT
The "position: relative;" rule has been removed in bug 119038, so MathML is no longer affected by SVG's bug 93358.
Note You need to log in before you can comment on or make changes to this bug.