mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +01:00
Add legacy window aliases SVGMatrix
/SVGPoint
for DOMMatrix
/DOMPoint
(#38810)
Adds the legacy window aliases `SVGMatrix`/`SVGPoint` for `DOMMatrix`/`DOMPoint`. Testing: Covered by WPT (`css/geometry`). --------- Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
This commit is contained in:
parent
3c89763b77
commit
913066d2e5
5 changed files with 6 additions and 9 deletions
|
@ -5,7 +5,7 @@
|
|||
// https://drafts.fxtf.org/geometry/#dommatrix
|
||||
|
||||
[Exposed=(Window,Worker,PaintWorklet),
|
||||
LegacyWindowAlias=WebKitCSSMatrix]
|
||||
LegacyWindowAlias=(SVGMatrix,WebKitCSSMatrix)]
|
||||
interface DOMMatrix : DOMMatrixReadOnly {
|
||||
[Throws] constructor(optional (DOMString or sequence<unrestricted double>) init);
|
||||
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
|
||||
// http://dev.w3.org/fxtf/geometry/Overview.html#dompoint
|
||||
[Exposed=(Window,Worker,PaintWorklet),
|
||||
Serializable]
|
||||
Serializable,
|
||||
LegacyWindowAlias=SVGPoint]
|
||||
interface DOMPoint : DOMPointReadOnly {
|
||||
[Throws] constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
|
||||
optional unrestricted double z = 0, optional unrestricted double w = 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue