This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18572 - 2d.imageData.object.wrap.html has wrong expectations
Summary: 2d.imageData.object.wrap.html has wrong expectations
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML WG
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-15 09:19 UTC by Dominik Röttsches (drott)
Modified: 2012-08-17 08:17 UTC (History)
4 users (show)

See Also:


Attachments
Fixing expectations, renaming to clamp. (3.79 KB, patch)
2012-08-16 12:58 UTC, Dominik Röttsches (drott)
Details
Fixing expectations, renaming to clamp. (3.63 KB, patch)
2012-08-16 13:00 UTC, Dominik Röttsches (drott)
Details

Description Dominik Röttsches (drott) 2012-08-15 09:19:19 UTC
2d.imageData.object.wrap.html expects modulo 256, however Uint8ClampedArray (which is the data type for the ImageData pixel array) is now using clamping to 0 and 255.
Comment 1 Dominik Röttsches (drott) 2012-08-16 12:58:26 UTC
Created attachment 1175 [details]
Fixing expectations, renaming to clamp.
Comment 2 Dominik Röttsches (drott) 2012-08-16 13:00:05 UTC
Created attachment 1176 [details]
Fixing expectations, renaming to clamp.

Cleaner diff.
Comment 4 Dominik Röttsches (drott) 2012-08-17 08:17:23 UTC
Okay, thanks, so this overlapped with:
http://dvcs.w3.org/hg/html/rev/2aea5b0c16f8