Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8116410

WebView does not render HTML5 Canvas demos correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u6
    • fx2.1
    • javafx
    • None
    • web

      Visit the following URLs and look at the output from the examples. They differ from Firefox and the Firefox versions (using FF v3.6.26) look correct:

      Extra path elements drawn in arcto:
      http://www.html5canvastutorials.com/tutorials/html5-canvas-rounded-corners/

      Fill, then stroke of same path only fills it:
      http://www.html5canvastutorials.com/tutorials/html5-canvas-rectangles/
      http://www.html5canvastutorials.com/tutorials/html5-canvas-circles/
      http://www.html5canvastutorials.com/tutorials/html5-canvas-semicircles/
      http://www.html5canvastutorials.com/advanced/html5-canvas-ovals/
      http://www.html5canvastutorials.com/advanced/html5-canvas-linear-motion-animation/
      http://www.html5canvastutorials.com/advanced/html5-canvas-quadratic-motion-animation/
      http://www.html5canvastutorials.com/advanced/html5-canvas-oscillation-animation/
      http://www.html5canvastutorials.com/advanced/html5-canvas-start-and-stop-an-animation/

      Shadow is more blurry:
      http://www.html5canvastutorials.com/advanced/html5-canvas-shadow-offset-tutorial/
      (note that our rendering agrees with Chrome. I haven't tried Safari or IE, but I think Firefox is correct, not particularly that the spec says that the gaussian value is half of the blur value, implying that the blur value is based on a diameter, but gaussian values are based on radii? It would be nice if there was an authoritative answer to compare to, but I'm inclined to believe FireFox for this one...)

      Many composite operations are wrong:
      http://www.html5canvastutorials.com/advanced/html5-canvas-global-composite-operations-tutorial/
      (note that FF disagrees with Chrome on the effect of Copy and I think that Chrome is right in this case...)

        There are no Sub-Tasks for this issue.

            loneid Leonid Popov (Inactive)
            flar Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: