Closed
Bug 1157112
Opened 10 years ago
Closed 3 years ago
Canvas path rendering bug
Categories
(Core :: Graphics: Canvas2D, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: unibasil, Unassigned)
References
Details
(Keywords: regression, reproducible, Whiteboard: [gfx-noted])
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150403141925
Steps to reproduce:
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
Run this HTML in Firefox:
----------------------------
<!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>
----------------------------
Actual results:
See attached file canvas-firefox.png
Expected results:
The same figure without artefacts.
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
Reproduced on ubuntu since Firefox4.0
Status: UNCONFIRMED → NEW
Component: Untriaged → Canvas: 2D
Ever confirmed: true
Keywords: regression
OS: Unspecified → Linux
Product: Firefox → Core
Version: 37 Branch → 2.0 Branch
Comment 3•10 years ago
|
||
Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2968d19b0165&tochange=29a6a85fab8e
Suspect: f236632a9747 Jeff Muizelaar — Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
Blocks: 542605
Comment 4•10 years ago
|
||
This is a very old regression, I don't think this is a high priority sadly.
Whiteboard: [gfx-noted]
Keywords: reproducible
Updated•7 years ago
|
Priority: -- → P3
Seems now it draws well in Firefox Quantum 57.0.4 (64-bit), Ubuntu 16.04
Updated•3 years ago
|
Severity: normal → S3
Comment 6•3 years ago
|
||
Fixed by something in this range.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•