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 12583 - (sx, sy), (sx+sw, sy), (sx+sw, sy+sh), (sx, sy+sh) -> should this not be (sx + sw - 1) etc?
Summary: (sx, sy), (sx+sw, sy), (sx+sw, sy+sh), (sx, sy+sh) -> should this not be (sx ...
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML Canvas 2D Context (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 20:34 UTC by contributor
Modified: 2011-08-04 05:03 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2011-05-02 20:34:50 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html
Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#pixel-manipulation

Comment:
 (sx, sy), (sx+sw, sy), (sx+sw, sy+sh), (sx, sy+sh) -> should this not be (sx
+ sw - 1) etc?

Posted from: 198.54.202.250
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Comment 1 Ian 'Hixie' Hickson 2011-06-21 06:49:59 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: No. The points are points, not pixels. They're giving the precise coordinates of the rectangle to copy; they're not giving pixel coordinates of the data in that rectangle. In fact there might be more or less than one pixel per unit coordinate.
Comment 2 Michael[tm] Smith 2011-08-04 05:03:30 UTC
mass-move component to LC1