Open Bug 2018403 Opened 26 days ago Updated 2 days ago

Consider wrapping children of math/mtd in an anonymous mrow

Categories

(Core :: MathML, task)

task

Tracking

()

ASSIGNED

People

(Reporter: fwang, Assigned: fwang)

References

(Blocks 2 open bugs)

Details

Attachments

(8 files, 3 obsolete files)

That should help fix bug 236963 (stretching) and probably bug 2018114 (spacing).

This is what Chromium does, I believe.

On the other hand, this will remove our basic (and probably broken) linebreaking support within math/mtd.

Attached file Testcase

This is showing some inconsistencies in Firefox when an explicit mrow is used as a direct child of the math or when it is not.

Always creating an anonymous mrow would help solve inconsistencies, but we would lose our rudimentary linebreaking support.

Assignee: nobody → fwang
Status: NEW → ASSIGNED
Attachment #9547512 - Attachment description: WIP: Bug 2018403 - Consider wrapping children of math/mtd in an anonymous mrow. → WIP: Bug 2018403 - Part 1: wrap children of <math> into an anonymous <mrow>.
Attachment #9547512 - Attachment description: WIP: Bug 2018403 - Part 1: wrap children of <math> into an anonymous <mrow>. → WIP: Bug 2018403 - Wrap children of <math>/<mtd> into an anonymous <mrow>.
Attached file anonymous-mrow-assert-001.html (obsolete) —
Attached file anonymous-mrow-assert-002.html (obsolete) —
Attached file anonymous-mrow-assert-003.html (obsolete) —
Attachment #9551878 - Attachment is obsolete: true
Attachment #9551879 - Attachment is obsolete: true
Attachment #9551880 - Attachment is obsolete: true
Depends on: 2023048
Depends on: 2023057
Attachment #9547512 - Attachment description: WIP: Bug 2018403 - Wrap children of <math>/<mtd> into an anonymous <mrow>. → WIP: Bug 2018403 - Wrap children of <math>/<mtd> into an anonymous <mrow>. r=emilio,eri
Attachment #9547512 - Attachment description: WIP: Bug 2018403 - Wrap children of <math>/<mtd> into an anonymous <mrow>. r=emilio,eri → Bug 2018403 - Wrap children of <math>/<mtd> into an anonymous <mrow>. r=emilio,eri
Attachment #9547512 - Attachment description: Bug 2018403 - Wrap children of <math>/<mtd> into an anonymous <mrow>. r=emilio,eri → WIP: Bug 2018403 - Wrap children of <math>/<mtd> into an anonymous <mrow>. r=emilio,eri
Attachment #9547512 - Attachment description: WIP: Bug 2018403 - Wrap children of <math>/<mtd> into an anonymous <mrow>. r=emilio,eri → Bug 2018403 - Wrap children of <math>/<mtd> into an anonymous <mrow>. r=emilio,eri
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: