desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #114303
[Bug 1434404] Re: Canvas path rendering bug
** Bug watch added: Mozilla Bugzilla #1157112
https://bugzilla.mozilla.org/show_bug.cgi?id=1157112
** Also affects: firefox via
https://bugzilla.mozilla.org/show_bug.cgi?id=1157112
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1434404
Title:
Canvas path rendering bug
Status in The Mozilla Firefox Browser:
Unknown
Status in firefox package in Ubuntu:
Confirmed
Bug description:
Ubuntu: 14.04.2 LTS (32bit and 64bit versions)
Firefox: Mozilla Firefox for Ubuntu canonical - 1.0
Installed: 36.0.1+build2-0ubuntu0.14.04.1
I wrote the simple script to draw the circle composed by lines from it
center. In Ubuntu Firefox I've got some weird looking artefacts, while
in other OSes or browsers all seems to be ok (I've tested Firefox,
Opera and Chrome in Windows, Chrome and Opera in Ubuntu).
To reproduce:
-------------------
1. Open source file circle360.html in Firefox on Ubuntu;
2. Expected to see the correctly drawin picture;
3. Instead I see the picture with drawing artefacts (look at attached picture canvas-firefox.png)
Source file: circle360.html
-------------------------------------
<!DOCTYPE html>
<html>
<head>
<title>Ray Circle</title>
</head>
<body>
<canvas height='640' width='640' id='example'>You should update your browser.</canvas>
<script>
var example = document.getElementById("example"),
ctx = example.getContext('2d'),
PIdiv180 = Math.PI / 180,
size = 480;
ctx.beginPath();
for (var i = 0; i < 360; i++) {
ctx.moveTo(320, 320);
ctx.lineTo(320 + Math.sin(i * PIdiv180) * 320, 320 + Math.cos(i * PIdiv180) * 320);
}
ctx.stroke();
</script>
</body>
</html>
-------------------------------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1434404/+subscriptions
References