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




3 years ago
3 years ago


(Reporter: mozilla, Unassigned)


({regression, reproducible})

42 Branch
regression, reproducible

Firefox Tracking Flags

(Not tracked)



(3 attachments, 1 obsolete attachment)



3 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 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.

Comment 1

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

Comment 2

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

My MathML Competence is poor, but I think with help of <> and <> (and similar) I am able to reproduce the problem  with unofficial (from <>)  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!


3 years ago
Keywords: reproducible

Comment 3

3 years ago
a) No DUPs found with <>
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
Ever confirmed: true
Keywords: regressionwindow-wanted
OS: Unspecified → Windows

Comment 4

3 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

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

Comment 6

3 years ago
Changes occur for attachment 8691945 [details]:

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

Comment 7

3 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.