JDK-8095168 : HTML5 canvas doesn't work properly on MacOS
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • Submitted: 2013-02-08
  • Updated: 2015-06-12
  • Resolved: 2014-03-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u20Resolved
Related Reports
Relates :  
Relates :  
Description
HTML5 canvas doesn't work properly on MacOS.
Failing tests attached.

Affected tests:
com/sun/fx/webnode/tests/html5/canvas/Html5Canvas.java#canvas_complexshapes_beziercurveto_001
com/sun/fx/webnode/tests/html5/canvas/Html5Canvas.java#canvas_shadows_001
Comments
I have not been able to reproduce the problems described here. These issues may have been fixed during the 8.0 development, and I have confirmed that they are no longer showing specifically in the 8udev workspace so I am leaving the fix version as 8u20, but closing it as "cannot reproduce".
03-03-2014

I tried both of these in WebLauncher on the latest 8u20 workspaces and they rendered just fine. Is this still reproducible for the submitter?
22-01-2014

Is this still reproducible? I can test if needed.
16-07-2013

This may be the same bug as RT-26106
05-03-2013

On Linux these pages are rendered properly the first time. Then when I reload the page, the smile and the gradient rectangle disappear. On Windows both pages are rendered fine, reloading the page does no harm. Apparently there's a problem with ES2 pipeline.
27-02-2013

The first test draws the first two components of a path (the eyes) but not the third one (the smile). The second test fails to draw a rectangle with a shadow. Strange thing is, it draws the black shadow, but not the rectangle itself, which is filled with a linear gradient: (spreadMethod=PAD, proportional=false, x1=0.0, y1=50.0, x2=100.0, y2=50.0, stops=[0.0:Color[r=0.0, g=1.0, b=0.0, a=1.0], 1.0:Color[r=0.0, g=0.0, b=1.0, a=1.0]]])
25-02-2013