Canvas path rendering bug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Invalid
|
Unknown
|
|||
firefox (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ubuntu: 14.04.2 LTS (32bit and 64bit versions)
Firefox: Mozilla Firefox for Ubuntu canonical - 1.0
Installed: 36.0.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.
ctx = example.
PIdiv180 = Math.PI / 180,
size = 480;
ctx.
for (var i = 0; i < 360; i++) {
}
ctx.stroke();
</script>
</body>
</html>
-------
Changed in firefox: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in firefox: | |
status: | New → Confirmed |
Changed in firefox: | |
importance: | Medium → Unknown |
Changed in firefox: | |
status: | Confirmed → Invalid |
Thanks. I can reproduce this with Firefox 37.0.1. Can you report the bug upstream to Mozilla and link this bug report to the upstream bug report by clicking on "Also affects project" near the top of this page?