mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01: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:
parent
e00f39d827
commit
39f3ce7a2e
19 changed files with 529 additions and 89 deletions
|
@ -366,6 +366,12 @@ namespace_id! {BlobId, BlobIndex, "Blob"}
|
|||
|
||||
namespace_id! {DomPointId, DomPointIndex, "DomPoint"}
|
||||
|
||||
namespace_id! {DomRectId, DomRectIndex, "DomRect"}
|
||||
|
||||
namespace_id! {DomQuadId, DomQuadIndex, "DomQuad"}
|
||||
|
||||
namespace_id! {DomMatrixId, DomMatrixIndex, "DomMatrix"}
|
||||
|
||||
namespace_id! {DomExceptionId, DomExceptionIndex, "DomException"}
|
||||
|
||||
namespace_id! {QuotaExceededErrorId, QuotaExceededErrorIndex, "QuotaExceededError"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue