JDK-8089878 : HTMLEditor messes up MathML markup
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8,9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-04-19
  • Updated: 2018-10-04
  • Resolved: 2018-10-04
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Paste in the MathML markup for the Quadratic formula.

The division line doesn't cleanly separate the dividend from the divisor.

This worked fine in the HTMLEditor distributed with JDK 7.
Comments
Based on the description of JDK-8210970 (and on my testing), I think that this issue should be closed as a duplicate of JDK-8147476, which is already fixed. The recently-filed JDK-8210970 describes a problem with editing in HTMLEditor, not with the rendering.
02-10-2018

Can we test this issue in 9-sandbox? I raised a similar issue https://bugs.openjdk.java.net/browse/JDK-8147476 which gets fixed in with webkit upgration (http://trac.webkit.org/changeset/165436)
04-04-2016

not a regression for 9 since introduced even in 8
04-04-2016

I can confirm that this is not a recent regression. It was broken in JDK 8.
23-04-2015

I can reproduce this. Attaching images from JDK 7 and JDK 8.
23-04-2015

Simply paste the following markup into the htmleditor component in JDK8u60: <math display="block"> <mrow> <mi> x </mi> <mo> = </mo> <mfrac> <mrow> <mo> ��� </mo> <mi> b </mi> <mo> �� </mo> <msqrt> <mrow> <msup> <mi> b </mi> <mn> 2 </mn> </msup> <mo> ��� </mo> <mn> 4 </mn> <mi> a </mi> <mi> c </mi> </mrow> </msqrt> </mrow> <mrow> <mn> 2 </mn> <mi> a </mi> </mrow> </mfrac> </mrow> </math>
22-04-2015

Please provide a standalone test program or an HTML file that we can load with a simple WebView loader (e.g., the one from Ensemble8). See https://wiki.openjdk.java.net/display/OpenJFX/Submitting+a+Bug+Report
22-04-2015