MathML formula causes too big table cell width when using (also: curly) brackets or parenthesis in <mo> tags

NEW
Unassigned

Status

()

Core
MathML
2 years ago
2 years ago

People

(Reporter: Janni, Unassigned)

Tracking

({regression, reproducible})

42 Branch
regression, reproducible
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments, 1 obsolete attachment)

(Reporter)

Description

2 years ago
Created attachment 8691945 [details]
HTML document for testing. The first two cells are too wide.

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
Build ID: 20151029151421

Steps to reproduce:

I created some MathML using AsciiMath.org that contains normal brackets for function parameters.


Actual results:

Brackets in <mo> tags cause the <math> tag to use somewhat more space than it actually needs. The table cell that contains the formula gets wider than expected.


Expected results:

The border of the cell that contains the formula should fit tightly.
(Reporter)

Comment 1

2 years ago
Created attachment 8691946 [details]
Screenshot of the test page. The area underlined in red is wrong.

Comment 2

2 years ago
Created attachment 8721763 [details]
new sample document

My MathML Competence is poor, but I think with help of <http://www.w3.org/TR/REC-MathML/chapter2.html> and <https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo> (and similar) I am able to reproduce the problem  with unofficial (from <http://seamonkey.callek.net/contrib/>)  en-US SeaMonkey 2.44a1  Mozilla/5.0 (Windows NT 6.1; x64; rv:47.0)  Gecko/20100101 Firefox/47.0 Build 20160208090255  (Default Classic Theme)  on German WIN7 64bit.

Steeps how to reproduce and visible results in new sample document!

Updated

2 years ago
Keywords: reproducible

Comment 3

2 years ago
a) No DUPs found with <https://bugzilla.mozilla.org/buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=DUPs1227957&sharer_id=41036>
b) Effect also REPRODCIBLE with FF 47.0a1 (2016-02-12)
c) Seems to be a regression, no extra space in formula with with SeaMonkey 2.5
  (Windows NT 6.1; WOW64; rv:8.0.1)  Gecko/20111121  Firefox/8.0.1   
   Build 20111121045514 (Classic Theme) on German WIN7 64bit
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regressionwindow-wanted
OS: Unspecified → Windows

Comment 4

2 years ago
d) Also  REPRODUCIBLE with  English SeaMonkey 2.44a1  (X11; Linux x86_64; rv:47.0)
  Gecko/20100101 Firefox/47.0 Build 20160208023510   (Default Theme) 
  on VirtualBox Ubuntu 14.04 LTS
  But the effect I see is smaller that with WIN
c) I reproduce the effect with all kinds of brackets
d) extra space right from formula in table cell becomes bigger and bigger the more 
   brackets I insert into the formula
e) there also seems to be a very small extra space at the right if I use <mo>+</mo>,
   but size of that extra extra place seesm not to depend of number or <mo></mo>
OS: Windows → All
Hardware: Unspecified → All
Summary: Incorrect width of MathML tag when using brackets in <mo> tags → MathML formula causes too big table cell width when using (also: curly) brackets or parenthesis in <mo> tags

Comment 5

2 years ago
Created attachment 8721767 [details]
better new sample
Attachment #8721763 - Attachment is obsolete: true

Comment 6

2 years ago
Changes occur for attachment 8691945 [details]:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b836d89be72b&tochange=0e91262606a6

Suspect:
Bug 1000879 - Remove the ::-moz-math-stretchy pseudo-element.

Comment 7

2 years ago
Removing "regressionwindow-wanted" keyword because the pushlog was provided in comment 6.
Keywords: regressionwindow-wanted → regression
You need to log in before you can comment on or make changes to this bug.