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 10132 - A CanvasPattern object should have a way to offset the repetition of an image.
Summary: A CanvasPattern object should have a way to offset the repetition of an image.
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML Canvas 2D Context (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P3 enhancement
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard: canvas v5
Keywords: NE
: 10310 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-11 18:27 UTC by contributor
Modified: 2012-03-28 21:49 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2010-07-11 18:27:40 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#colors-and-styles

Comment:
A CanvasPattern object should have a way to offset the repitition of an image.

Posted from: 67.41.67.252
Comment 1 Regis Frey 2010-08-07 03:21:09 UTC
*** Bug 10310 has been marked as a duplicate of this bug. ***
Comment 2 Ian 'Hixie' Hickson 2010-09-10 22:29:49 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: Partially Accepted
Change Description: see diff given below
Rationale: Agreed, but it seems like something we should add in a future version, rather than immediately.
Comment 3 Ian 'Hixie' Hickson 2012-02-29 18:50:14 UTC
We could address this by adding .offsetX and .offsetY attributes to the CanvasPattern object.
Comment 4 Ian 'Hixie' Hickson 2012-02-29 22:49:56 UTC
Current proposal at http://wiki.whatwg.org/wiki/Canvas#Pattern_offsets
Comment 5 Ian 'Hixie' Hickson 2012-02-29 23:14:46 UTC
Proposal has been updated to instead just have the transformation matrix methods on CanvasPattern.
Comment 6 Ian 'Hixie' Hickson 2012-03-26 18:00:39 UTC
New plan: the ability to set an SVGMatrix on the pattern, either on creation or later. Any opinions?
Comment 7 Ian 'Hixie' Hickson 2012-03-28 21:49:33 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: Accepted
Change Description: setTransform on CanvasPattern
Rationale: Concurred with reporter's comments.