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
  • #1711
Closed
Open
Issue created Mar 01, 2017 by Peter Krautzberger@pkraContributor

[CommonHTML] rowlines can be too short

In the CommonHTML output, a row line can end up too short when the row above is shorter than the maximal row in the table (or perhaps the next row, I'm not sure what the spec says).

This seems due to rowlines being drawn via border-bottom on the elements from the row above the rowline; that row would need additional empty elements at its end (to match the rowline length) to ensure a correct line.

For example,

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mtable data-mml-elementary="mstack" columnspacing="0" rowlines="none solid none">
    <mtr>
      <mtd />
      <mtd>
        <mn>4</mn>
      </mtd>
      <mtd>
        <mn>2</mn>
      </mtd>
      <mtd>
        <mn>4</mn>
      </mtd>
      <mtd data-mml-elementary-decimalpos="true">
        <mn>.</mn>
      </mtd>
      <mtd>
        <mn>2</mn>
      </mtd>
    </mtr>
    <mtr data-mml-elementary-msrow-op-front="true">
      <mtd>
        <mo>+</mo>
      </mtd>
      <mtd>
        <none />
      </mtd>
      <mtd>
        <mn>3</mn>
      </mtd>
      <mtd>
        <mn>3</mn>
      </mtd>
    </mtr>
    <mtr>
      <mtd />
      <mtd>
        <mn>4</mn>
      </mtd>
      <mtd>
        <mn>5</mn>
      </mtd>
      <mtd>
        <mn>7</mn>
      </mtd>
      <mtd data-mml-elementary-decimalpos="true">
        <mn>.</mn>
      </mtd>
      <mtd>
        <mn>2</mn>
      </mtd>
    </mtr>
  </mtable>
</math>
Assignee
Assign to
Time tracking