Bug 185417 - Webkit, JavaFX and MathML. #71
Summary: Webkit, JavaFX and MathML. #71
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-08 02:16 PDT by Guy Abossolo Foh
Modified: 2018-06-09 02:54 PDT (History)
1 user (show)

See Also:


Attachments
Fraction display under JavaFX using WebKit. (53.84 KB, image/png)
2018-05-08 02:16 PDT, Guy Abossolo Foh
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guy Abossolo Foh 2018-05-08 02:16:13 PDT
Created attachment 339806 [details]
Fraction display under JavaFX using WebKit.

https://github.com/javafxports/openjdk-jfx/issues/71

This bug seems to be specific to javafx, but I don't understand why !

It affects only MathML rendering since 2011.

Only the vertical size of the RenderBox is bad.

I tested RenderMathMLFraction.cpp and noticed that :

Numerator and denominator heights are wrong and equal to 1.
While numerator and denominator widths are correct.

I tried to go further, but I not familiar enough with WebKit.

I'm looking for any help/suggestion to move foward.
Comment 1 Guy Abossolo Foh 2018-05-09 10:53:29 PDT
All childs height equal to 1 in RenderMathMLBlock ?

RenderMathMLBlock: layoutItems : child height()1
Comment 2 Guy Abossolo Foh 2018-06-08 22:34:37 PDT
I finaly found what's wrong with MathML lines overlapping.
In fact MathML needs `platformBoundsForGlyph` implementation in FontJava.cpp.

Continue to investigate becauseof bad alignment with fraction line for example.
Comment 3 Guy Abossolo Foh 2018-06-09 02:54:51 PDT
Solved !

https://github.com/javafxports/openjdk-jfx/issues/71

Thanks.

:-)