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 30096 - "Let matrix object be the result of invoking cre..."
Summary: "Let matrix object be the result of invoking cre..."
Status: RESOLVED WORKSFORME
Alias: None
Product: FXTF
Classification: Unclassified
Component: Geometry (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: sideshowbarker+geometry
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-23 19:23 UTC by Joe Pea
Modified: 2017-05-04 22:25 UTC (History)
1 user (show)

See Also:


Attachments

Description Joe Pea 2017-04-23 19:23:39 UTC
https://drafts.fxtf.org/geometry/#DOMPoint

[[
Let matrix object be the result of invoking create a DOMMatrix from the dictionary matrix.
]]

The "matrix" argument is optional, but the algorithmm doesn't say what to do when the argument is not present.

My guess is to set "matrix" to the identity matrix, or maybe just return the new point unmodified (which make point.matrixTransform() like a clone() method).
Comment 1 Simon Pieters 2017-05-04 22:25:29 UTC
Per Web IDL, an omitted dictionary argument is equivalent to specifying {}.

https://heycam.github.io/webidl/#es-dictionary