mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
Make DOM geometry structs serializable (#38828)
Makes the following DOM geometry structs serializable: - `DOMRect` - `DOMRectReadOnly` - `DOMQuad` - `DOMMatrix` - `DOMMatrixReadOnly` Testing: Covered by WPT (`css/geometry/structured-serialization.html`). --------- Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
// https://drafts.fxtf.org/geometry/#dommatrix
|
||||
|
||||
[Exposed=(Window,Worker,PaintWorklet),
|
||||
LegacyWindowAlias=(SVGMatrix,WebKitCSSMatrix)]
|
||||
LegacyWindowAlias=(SVGMatrix,WebKitCSSMatrix),
|
||||
Serializable]
|
||||
interface DOMMatrix : DOMMatrixReadOnly {
|
||||
[Throws] constructor(optional (DOMString or sequence<unrestricted double>) init);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user