Bug 1331765

Summary: Firefox spacing above mathml inline equations
Product: [Fedora] Fedora Reporter: Brad Bell <bradbell>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 22CC: bradbell, gecko-bugs-nobody, jhorak, pjasicek, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 20:01:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Brad Bell 2016-04-29 13:11:05 UTC
Description of problem:
Firefox on Fedora 22 is putting more than necessary vertical white space above a line with an inline MathML equation. To be more specific enough extra space to fit another line (with normal spacing above and below).


Version-Release number of selected component (if applicable):
firefox-45.0-4.fc22.x86_64

How reproducible:
Always.

Steps to Reproduce:
Save the following text as an xml file and view in Firefox browser on Fedora 22:
<?xml version='1.0'?>
<html xmlns='http://www.w3.org/1999/xhtml'
      xmlns:math='http://www.w3.org/1998/Math/MathML'
>
<body>
This line comes before the inline equation:
<br/>
Line with the inline equation
<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline">
<mi>y</mi> <mo>=</mo> <mi>f</mi> <mo>(</mo> <mi>x</mi> <mo>)</mo> </math> .
<br/>
This line comes after the inline equation.
</body>
</html>


Actual results:
This line comes before the inline equation:

Line with the inline equation y = f ( x ).
This line comes after the inline equation.



Expected results:
This line comes before the inline equation:
Line with the inline equation y = f ( x ).
This line comes after the inline equation.


Additional info:
This extra space does not appear on Windows with Firefox 43.0.1.

Comment 1 Martin Stransky 2016-04-29 13:45:25 UTC
Can you please test mozilla binary from mozilla.com?

Comment 2 Brad Bell 2016-04-29 17:34:37 UTC
(In reply to Martin Stransky from comment #1)
> Can you please test mozilla binary from mozilla.com?

I am not sure what you mean. 
Is there a web page that has a firefox binary, I can downalod, that should work with Fedora 22 (and not conflict with the one that dnf install on the system) ? If so, what is the corresponding web address ?

Comment 3 Martin Stransky 2016-05-02 08:27:51 UTC
Yes, you can download the binary version here:
https://www.mozilla.org/en-US/firefox/all/#en-US

just extract it to some dir and run.

Comment 4 Brad Bell 2016-05-03 12:46:46 UTC
(In reply to Martin Stransky from comment #3)
> Yes, you can download the binary version here:
> https://www.mozilla.org/en-US/firefox/all/#en-US
> 
> just extract it to some dir and run.

I download the 64 bit Linux version of the link above and got the file
    firefox-46.0.tar.bz2
I then unzipped and untared the file and got a directory. In the directory I executed
    ./run_mozilla.sh firefox
When I check the version of the resulting firefox program I get 45.0 not 46.0. I tried exiting all my Firefox window and rerunning the command above and still got version 45.0. 

When I load example xml file above, I get the same results as before; i.e., there is an extra line of white space.

Comment 5 Brad Bell 2016-06-25 16:51:16 UTC
I have verified that the example gives the expected results (no extra line) on the following system:

>uname -a
Linux brad-ubuntu14 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
~>firefox --version
Mozilla Firefox 47.0

It still gives the extra line on the following system:
uname -a
Linux brad-home 4.1.3-200.fc22.x86_64 #1 SMP Wed Jul 22 19:51:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
firefox --version
Mozilla Firefox 46.0.1

Comment 6 Fedora End Of Life 2016-07-19 20:01:33 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.