Skip to content

Commit efc0748

Browse files
zcorpansvgeesus
authored andcommitted
WebKitCSSMatrix compat: define window.WebKitCSSMatrix
Alias WebKitCSSMatrix to DOMMatrix in the same way as SVGMatrix. Part of whatwg/compat#19
1 parent b65753a commit efc0748

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

geometry/Overview.bs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ var transformedPoint = point.matrixTransform(matrix);
144144
<p><var>point</var> creates a new <a interface>DOMPoint</a> object initialized to the same attribute values as <var>point</var>. This new <a interface>DOMPoint</a> is now scaled and the translated by <var>matrix</var>. This resulting <var>transformPoint</var> has the attribute values <code>x: 20</code> and <code>y: 18</code>.</p>
145145
</div>
146146

147-
For historical reasons, Window objects must also have a writable, configurable, non-enumerable property named <code>SVGPoint</code> whose value is the <a interface>DOMPoint</a> interface object.
147+
For historical reasons, {{Window}} objects must also have a writable, configurable, non-enumerable
148+
property named <code>SVGPoint</code> whose value is the <a interface>DOMPoint</a> interface object.
148149

149150
<h2 id='DOMRect'>
150151
The DOMRect interfaces</h2>
@@ -257,7 +258,9 @@ the <dfn method lt=fromRect() dfn-for=DOMRect id=dom-domrect-fromrect><code>from
257258
The <dfn>left</dfn> attribute, on getting, must return min(<a for=rectangle>x coordinate</a>, <a for=rectangle>x coordinate</a> + <a for=rectangle>width dimension</a>) of the object it was invoked on.
258259
</div>
259260

260-
For historical reasons, Window objects must also have a writable, configurable, non-enumerable property named <dfn dfn-type=interface>SVGRect</dfn> whose value is the <a interface>DOMRect</a> interface object.
261+
For historical reasons, {{Window}} objects must also have a writable, configurable, non-enumerable
262+
property named <dfn dfn-type=interface>SVGRect</dfn> whose value is the <a interface>DOMRect</a>
263+
interface object.
261264

262265
<h2 id='DOMQuad'>
263266
The DOMQuad interface</h2>
@@ -576,7 +579,10 @@ Internal member variables must not be exposed in any way.
576579

577580
The <a interface>DOMMatrix</a> and <a interface>DOMMatrixReadOnly</a> interfaces replace the SVGMatrix interface from SVG [[SVG11]].
578581

579-
For historical reasons, Window objects must also have a writable, configurable, non-enumerable property named <dfn dfn-type=interface>SVGMatrix</dfn> whose value is the <a interface>DOMMatrix</a> interface object.
582+
For historical reasons, {{Window}} objects must also have writable, configurable, non-enumerable
583+
properties named <dfn dfn-type=interface>SVGMatrix</dfn> and <dfn
584+
dfn-type=interface>WebKitCSSMatrix</dfn> whose value is the <a interface>DOMMatrix</a> interface
585+
object.
580586

581587
<h3 id='dommatrixinit-dictionary'>DOMMatrixInit dictionary</h3>
582588

0 commit comments

Comments
 (0)