i trying render svg mathml. looks fine on chrome, in ie svg has additonal attributs tag how can avoid these additional attributes being added? please try render below mathml svg in chrome , ie. can see difference in svg tag got generated (attached scrrenshots in both browsers)
mathml is:
<math xmlns="http://www.w3.org/1998/math/mathml"><mrow><mn style="font-family: inherit;font-style: inherit;" id="63201617503163">1</mn><mn style="font-family: inherit;font-style: inherit;" id="63201617503164">2</mn><mn style="font-family: inherit;font-style: inherit;" id="63201617503165">3</mn><mtable columnalign="right" align="baseline 2" rowspacing="0.0ex" id="63201617503166"><mtr><mtd><mrow><mn style="font-family: inherit;font-style: inherit;" id="63201617503167">1</mn><mn style="font-family: inherit;font-style: inherit;" id="63201617503168">2</mn><mn style="font-family: inherit;font-style: inherit;" id="63201617503169">3</mn></mrow></mtd></mtr><mtr><mtd><menclose notation="longdiv"><mrow><mn style="font-family: inherit;font-style: inherit;" id="63201617503170">1</mn><mn style="font-family: inherit;font-style: inherit;" id="63201617503171">2</mn><mn style="font-family: inherit;font-style: inherit;" id="63201617503172">3</mn><mn style="font-family: inherit;font-style: inherit;" id="63201617503173">4</mn><mn style="font-family: inherit;font-style: inherit;" id="63201617503174">5</mn></mrow></menclose></mtd></mtr><mtr><mtd><munder><mrow><mn style="font-family: inher[enter image description here][2]it;font-style: inherit;" id="63201617503175">1</mn><mn style="font-family: inherit;font-style: inherit;" id="63201617503176">2</mn><mn style="font-family: inherit;font-style: inherit;" id="63201617503177">3</mn></mrow><mrow><mo>_</mo></mrow></munder><mphantom><mrow><mn>45</mn></mrow></mphantom></mtd></mtr><mtr><mtd><mrow><mn style="font-family: inherit;font-style: inherit;" id="63201617503178">1</mn><mn style="font-family: inherit;font-style: inherit;" id="63201617503179">2</mn><mn style="font-family: inherit;font-style: inherit;" id="63201617503180">3</mn></mrow></mtd></mtr></mtable></mrow></math>
note attributes in first graphic, farther right (note style="width: 10.751ex; height: 12.291ex...
@ right of line containing <svg>
element.) output ie should same (modulo order of attributes) other browsers, svg output include have browser-specific code.
the styles important getting placement correct. if placement isn't correct you, there may other css on page interfering. might try modifying page doesn't load css , see if svg output correct or not. if is, add css files in 1 @ time until find 1 trouble. through see might @ fault.
otherwise, peter suggested, provide live sample at. also, imply ie output not visually correct, don't in way (saying attributes differ not same saying result looks on screen, or providing screen shot, example).
Comments
Post a Comment