Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #729
Closed
Open
Issue created Jan 28, 2014 by Administrator@rootContributor

Problem with superscript/subscript alignment on Firefox 26, MathML, HTML/CSS

Created by: Klortho

Here's what I see on Firefox. Note that the problem only manifests when the preceding item "B" has a superscript:

firefox

On Chrome it looks fine:

chrome

Here's the markup:

<p>With preceding superscript:</p>
<math id="M2" display='block' overflow="scroll">
  <mrow>
    <mi>L</mi>
    <mo>=</mo>
    <msup>
      <mi>B</mi>
      <mi>l</mi>
    </msup>
    <msubsup>
      <mo>&#x2016;</mo>
      <mn>2</mn>
      <mn>2</mn>
    </msubsup>
  </mrow>
</math>

<p>Without preceding superscript:</p>
<math id="M2.wo" display='block' overflow="scroll">
  <mrow>
    <mi>L</mi>
    <mo>=</mo>
    <mi>B</mi>
    <msubsup>
      <mo>&#x2016;</mo>
      <mn>2</mn>
      <mn>2</mn>
    </msubsup>
  </mrow>
</math>
Assignee
Assign to
Time tracking