https://bugs.documentfoundation.org/show_bug.cgi?id=99984

            Bug ID: 99984
           Summary: inferred row rendered wrong for some empty elements
           Product: LibreOffice
           Version: 5.2.0.0.alpha0+ Master
          Hardware: x86 (IA32)
               URL: https://www.w3.org/TR/MathML2/chapter3.html#id.3.1.3.1
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Formula Editor
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: rb.hensc...@t-online.de

Created attachment 125216
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125216&action=edit
testfiles to see wrong rendering

Some MathML-elements require exactly one argument, but with the special rule,
that in case they have no argument, they are treated as if they have an empty
mrow element as content.

Such cases are rendered wrong for the elements: mphantom, msqrt, mstyle and
mtd.
The case mtd is severe, because empty table cells often occur, in case the
mtable element is used to arrange things.

I propose to import the empty case of inferred mrow as empty group {}.

The files xyz_missing.mml and xyz_exists.mml of the attached test files should
render the same.

Please make sure you use a current build from master, otherwise the files
mstyle_empty_mrow_missing.mml and msqrt_empty_mrow_missing.mml will crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to