Bug 185417

Summary: Webkit, JavaFX and MathML. #71
Product: WebKit Reporter: Guy Abossolo Foh <info>
Component: MathMLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: zalan
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fraction display under JavaFX using WebKit. none

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.

:-)