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 15498 - CSSMatrix should align with SVGMatrix
Summary: CSSMatrix should align with SVGMatrix
Status: RESOLVED LATER
Alias: None
Product: CSS
Classification: Unclassified
Component: Transforms (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dirk Schulze
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-10 18:31 UTC by Dirk Schulze
Modified: 2012-02-23 05:23 UTC (History)
6 users (show)

See Also:


Attachments

Description Dirk Schulze 2012-01-10 18:31:54 UTC
CSSMatrix should align with SVGMatrix. Might make it easier for SVGMatrix to inherit from CSSMatrix.

See http://www.w3.org/TR/SVG/coords.html#InterfaceSVGMatrix as well.
Comment 1 Aryeh Gregor 2012-01-23 16:31:09 UTC
Some relevant Mozilla bugs:

https://bugzilla.mozilla.org/show_bug.cgi?id=482200
https://bugzilla.mozilla.org/show_bug.cgi?id=661624
https://bugzilla.mozilla.org/show_bug.cgi?id=717722

Matrices are important in WebGL too.  It would be best if we had some type of generic JS matrix API that SVG, CSS, WebGL, and so on could all refer to.
Comment 2 Dirk Schulze 2012-01-23 16:42:35 UTC
(In reply to comment #1)
> Some relevant Mozilla bugs:
> 
> https://bugzilla.mozilla.org/show_bug.cgi?id=482200
> https://bugzilla.mozilla.org/show_bug.cgi?id=661624
> https://bugzilla.mozilla.org/show_bug.cgi?id=717722
> 
> Matrices are important in WebGL too.  It would be best if we had some type of
> generic JS matrix API that SVG, CSS, WebGL, and so on could all refer to.

There is also a discussion on public-fx about creating a generic Matrix in the JS namespace [1]. And I am fine with creating a common Matrix interface. I just want to make sure that CSSMatrix and SVGMatrix interoperable, at least the 2D part.

[1] http://lists.w3.org/Archives/Public/public-fx/2012JanMar/0007.html
Comment 3 Dirk Schulze 2012-02-23 05:23:28 UTC
This gets delayed to CSS4 Transforms.