Closed Bug 342202 Opened 19 years ago Closed 18 years ago

canvas drawwindow() corruption if width >= 4091

Categories

(Core :: Graphics: Canvas2D, defect)

1.8 Branch
PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Brade, Assigned: vlad)

Details

Attachments

(2 files)

I see corruption (garbage) in the image placed on the canvas when calling drawWindow() if the width is greater than 4090 pixels. The height can vary between a few pixels and 32k without causing problems. I see the corruption on Intel Mac as well as PowerPC Mac. I don't see this problem on Windows or Linux. The example I will attach is a little flakey but it reproduces the problem. The example has a canvas element and an iframe. The iframe's window is resized and drawn in the resized canvas after clicking the Resize button. For some reason you will need to change the size and click the Resize button twice.
Attached file Example HTML
Steps to reproduce: * load this attachment in Firefox * click the Resize button * change the width value to 4092 (I like the pattern generated at this width) * click the Resize button See the canvas rendered as garbage. The canvas should render identically to the iframe below it (set the width value to 400 to see the expected behavior).
I retested this today on Intel Mac OS 10.4.10. I still see this bug in Firefox 2.0.0.8. I do not see it in 3.0a8. Does anyone know what change was made on the trunk to fix this?
Marking as wontfix; trunk uses a vastly different rendering architecture than the branch, so there's no chance of a backport to the branch.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: