<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>126516</bug_id>
          
          <creation_ts>2014-01-06 02:47:57 -0800</creation_ts>
          <short_desc>SVG transforms do not apply to &lt;mroot&gt; elements</short_desc>
          <delta_ts>2014-06-17 23:54:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>MathML</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.maths-informatique-jeux.com/international/mathml-in-webgl/index.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>93358</dependson>
    
    <dependson>119038</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Frédéric Wang Nélar">fred.wang</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>cfleizach</cc>
    
    <cc>darin</cc>
    
    <cc>krit</cc>
    
    <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>964591</commentid>
    <comment_count>0</comment_count>
      <attachid>220427</attachid>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2014-01-06 02:47:57 -0800</bug_when>
    <thetext>Created attachment 220427
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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>972178</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2014-01-26 04:58:00 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>972179</commentid>
    <comment_count>2</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2014-01-26 05:03:36 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; 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?
&gt; 
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1016386</commentid>
    <comment_count>3</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2014-06-17 23:54:42 -0700</bug_when>
    <thetext>The &quot;position: relative;&quot; rule has been removed in bug 119038, so MathML is no longer affected by SVG&apos;s bug 93358.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>220427</attachid>
            <date>2014-01-06 02:47:57 -0800</date>
            <delta_ts>2014-01-06 02:47:57 -0800</delta_ts>
            <desc>testcase</desc>
            <filename>face.svg</filename>
            <type>image/svg+xml</type>
            <size>1259</size>
            <attacher name="Frédéric Wang Nélar">fred.wang</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDov
L3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249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5zbGF0ZSgtNDgsLTQ4KSI+CiAgICAgIDxzd2l0
Y2g+CiAgICAgICAgPGZvcmVpZ25PYmplY3Qgd2lkdGg9IjEyOCIgaGVpZ2h0PSIxMjgiPgogICAg
ICAgICAgPG1hdGggeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTgvTWF0aC9NYXRoTUwiIHN0
eWxlPSJmb250LWZhbWlseTogTmVvIEV1bGVyLCBTVElYOyAgICAgICAgICAgICAgICAgICAgICAg
IGNvbG9yOiBibHVlOyBmb250LXNpemU6IDMycHg7Ij4KICAgICAgICAgICAgPG1yb3c+PG1pPs6x
PC9taT48bXNxcnQ+PG1uPjI8L21uPjwvbXNxcnQ+PC9tcm93PgogICAgICAgICAgPC9tYXRoPgog
ICAgICAgIDwvZm9yZWlnbk9iamVjdD4KICAgICAgPC9zd2l0Y2g+CiAgICA8L2c+CiAgPC9nPgo8
L3N2Zz4=
</data>

          </attachment>
      

    </bug>

</bugzilla>